Posts

Showing posts with the label LINQ

C# Update Sinlgle Row Of A List

How to update row of a list ? code snippet to selected item of a select list in C# MVC list.Where(x => x.Value.ToString() == id.ToString()).FirstOrDefault().Selected = true;