What are the different ways to write linq query syntax?
Answer Posted / Naveen Kumar Singh
There are two main syntaxes for writing LINQ queries: Query Syntax and Method Syntax. Query Syntax uses extension methods of IEnumerable<T> along with C# query operators like from, where, select, join, group etc. Method Syntax, on the other hand, uses extension methods of Enumerable class that have a similar name to query operators but take delegate parameters.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category