arvind sharma
What is Let in linq?
By arvind sharma in LINQ on Feb 10 2016
  • Gaurav Raut
    Jan, 2018 8

    It allows defining a variable and assigning it a value calculated from the data values

    • 0
  • Gaurav Raut
    Jan, 2018 8

    It allows defining a variable and assigning it a value calculated from the data values

    • 0
  • Gaurav Raut
    Jan, 2018 8

    It allows defining a variable and assigning it a value calculated from the data values

    • 0
  • sushil kumar
    Jul, 2017 14

    LET keyword allows you to store result of a query which can be used in subsequent query.example :- var em = from e in empgroup e by new { e.Salary, e.Id }into gEmplet avgsal = (gEmp.Sum(t => t.Salary) / gEmp.Count())where gEmp.Key.Salary == avgsalselect new { gEmp.Key.Salary, gEmp.Key.Id };

    • 0
  • arvind sharma
    Feb, 2016 10

    Let is a keyword used to introduce a variable in linq query

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS