MCQOPTIONS
Bookmark
Saved Bookmarks
→
ASPDotNET (MCQ) questions and answers
→
ADODotNET
→
What LINQ expressions are used to shape results in...
1.
What LINQ expressions are used to shape results in a query?1. where2. select3. join4. group
A.
2, 4
B.
1, 2
C.
3, 4
D.
None
Answer» B. 1, 2
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
Choose the correct one.int[] numbers = { 9, 10, 0, 11 }; var nums = from n in numbers select n + 1; foreach (var i in nums) { Console. Write (i+ , ); }
Choose the correct one. int[] numbers = { 9, 4, 1, 3, 8, 6, 7, 2,1 }; var nums = numbers.Take(3);foreach (var n in nums){ Console.WriteLine(n); }
Choose the correct one.int[] numbers = { 5, 4, 11, 3, 9, 8, 6, 7, 2, 0 };var nums = numbers.Skip(4);foreach (var n in nums){Console.Write(n+ );}
Choose the correct one.int[] A = { 0, 2, 4, 5, 6, 8 }; int[] B = { 1, 3, 5, 7, 8 }; var nums = A.Union(B);foreach (var n in nums) { Console.Write(n+ ); }
Choose the correct one.int[] A = { 0, 2, 4, 5, 6, 8, 9 }; int[] B = { 1, 3, 5, 7, 8 }; IEnumerable
What LINQ expressions are used to shape results in a query?1. where2. select3. join4. group
What types of shapes can LINQ query results be shaped into? 1. Collections of primitive types2. Collections of complex types3. Single types4. Collections of anonymous types
What is lamda expression?1. Anonymous function2. Canbe used to create delegates3. Named function4. None
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies