Abhishek Tyagi
What is difference between Lambda Expression and LINQ in ASP.NET?
By Abhishek Tyagi in LINQ on Oct 10 2012
  • Bilam  Mondal
    May, 2019 24

    anguage-Integrated Query (LINQ) is a set of features introduced in Visual Studio 2008 that extends powerful query capabilities to the language syntax of C# and Visual BasicA lambda expression is an anonymous function that you can use to create delegates or expression tree types. By using lambda expressions, you can write local functions that can be passed as arguments or returned as the value of function calls.Linq uses Lambda expression in order to execute some of its functionalities.Example:new [] { "Dan", "Yossi", "Ben" }.Where(item => item.Length == 3); Lambda expression: item => item.Length == 3 Linq: (from item in (new [] { "Dan", "Yossi", "Ben" }) where item.Length == 3)

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS