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);
}
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);
}
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!