Question: Suppose your site has a page called Index.aspx that you no longer use. Search engines may keep requesting this page.
Which of the following method will you add to the CodeBehind file of Index.aspx that will send requests (including search engine requests) to Default.aspx in .Net framework 4.0?
Question: What result will you get when you run the following LINQ query in .Net framework 4.0?
List<string> alphabets = new List<string>() { "whats", "new", "in", "aspnet" };
var alphabetsquery = from alphabet in alphabets select alphabet.Substring(0, 1);
foreach (var alpha in alphabetsquery)
{
Response.Write(alpha);
}