Lets say I have this class
public class Employee { public string FirstName { get; set; } public string LastName { get; set; } public bool isActive {
Why does change in the isActive property of EmployeesCopy also modify the original list?|
Because both the list point to the same instance of the Employee object. You need to deep copy your Employee object as well.