[Solved] How do I manipulate an object’s properties after it has been added to a List in C#
[ad_1] You can get the first item of the list like so: Person p = pList[0]; or Person p = pList.First(); Then you can modify it as you wish: p.firstName = “Jesse”; Also, I would recommend using automatic properties: class public Person { public string firstName { get; set; } public string lastName { get; … Read more