+ 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#.
2 Réponses
+ 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
+ 1
LINQ: from [source] where [condition] select [fields]
LAMBDA : [source].[selected fields] .where [x=> x.condition]