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 is the use of firstordefault in linq?
How to return iqueryable from linq query?
Enlist the types of linq?
What is the difference between the Select clause and SelectMany() method in LINQ?
Differentiate between statement lambda and expression lambda.
Differentiate between conversion operator “todictionary” and “ienumerable” of linq.
What are the benefits of tier architecture style?
How are standard query operators useful in linq?
Explain what is select clause and where clause in linq?
What is the basic syntax of a linq query in visual basic as well as in c#?
How to pass parameters to stored procedure using linq?
Can we perform LINQ on XML?
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)