edit list element linq csharp

Code Example - edit list element linq csharp

                
                        collection.Select(c => {c.PropertyToSet = value; return c;}).ToList();