static void Main(string[] args) { List1 list1Instance = new List1(); List<Person> p = new List<Person>(list1Instance.Get()); UpdatePersons(p); bool sameFirstName = (list1Instance.l1[0].FirstName == p[0].FirstName); }