C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
iOS
Java
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
5
Reply
What is Let in linq?
arvind sharma
9y
1.2k
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
It allows defining a variable and assigning it a value calculated from the data values
Gaurav Raut
7y
0
It allows defining a variable and assigning it a value calculated from the data values
Gaurav Raut
7y
0
It allows defining a variable and assigning it a value calculated from the data values
Gaurav Raut
7y
0
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 };
sushil kumar
8y
0
Let is a keyword used to introduce a variable in linq query
arvind sharma
9y
0
Message