Write the basic syntax of a LINQ query in Visual Basic as well as in C#.
Answer / Gaurav Chandra
[VB] Dim numbers As IEnumerable(Of Integer) = From n In Enumerable.Range(1, 10) Where n Mod 2 = 0 Select nn[C#] var numbers = Enumarable.Range(1, 10).Where(n => n % 2 == 0);
| Is This Answer Correct ? | 0 Yes | 0 No |
What are different methods to write LINQ Query?
Why can not datareader by returned from a web services method?
Why we use ienumerable in linq?
What is into in linq?
What is the difference between First() and Single() extension methods in LINQ?
1 Answers TryTechnicals Pvt Ltd,
Explain what are linq compiled queries?
What is linq placement?
What is the difference between the Take and Skip clauses?
List the important language extensions made in c# to make linq a reality?
Is linq orm?
what is the purpose of LINQ providers in LINQ?
What is a lambda expression?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)