0
What is lambda in C# =>
Just started using xamarin but no idea what a lambda is
2 Antworten
+ 3
lambda expression is a convenient way of defining an anonymous (unnamed) function that can be passed around as a variable or as a parameter to a method call. Many LINQ methods take a function (called a delegate) as a parameter.
+ 3
Christian Khalil The answer from Koder King is a good high level description.
It's not clear from your question if you are learning C# and Xamarin at the same time. I just wanted to clarify some context that lambdas are core within C#, regardless of using Xamarin.