I am trying to add a SELECT ALL
functionality to my grid with LINQ, but I get a compilation error.
List<Person_> PeopleUpdated = People.ToList().ForEach(a => a.SELECTED = true).ToList();
It says
Cannot implicitly convert type 'void' to 'System.Collections.Generic.List < LogoSapHrIntegration.frmXmlUpload.Person_>'
what am I doing wrong?