How do I write LINQ and LAMBDA expressions ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do I write LINQ and LAMBDA expressions ?

I'm still new to coding so I need someone to breakdown and explain how to write LINQ and LAMBDA expressions in c#.

24th Apr 2020, 8:41 AM
Joseph Oritseweyinmi
Joseph Oritseweyinmi - avatar
2 Answers
+ 1
Search the code playground for keyword linq and you will find plenty of examples. https://code.sololearn.com/c43weXQw15ZD/?ref=app Also a great source to learn from, is the c# lang documentation https://docs.microsoft.com/en-us/dotnet/csharp/tutorials/working-with-linq
24th Apr 2020, 8:51 AM
Tibor Santa
Tibor Santa - avatar
+ 1
LINQ: from [source] where [condition] select [fields] LAMBDA : [source].[selected fields] .where [x=> x.condition]
27th Apr 2020, 7:09 AM
Ali pishkari
Ali pishkari - avatar