MCQs > IT & Programming > .NET > What result will you get when you run the following LINQ query in .Net framework 4.0? List alphabets = new List() { 'whats', 'new', 'in', 'aspnet' }; var alphabetsquery = from alphabet in alphabets select alphabet.Substring(0, 1); foreach (var alpha in alphabetsquery) { Response.Write(alpha); }

.NET MCQs

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);
  }


Answer

Correct Answer: wnia

Explanation:

Note: This Question is unanswered, help us to find answer for this one

.NET Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

.NET Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it