create a new list of a variable in a list of object c# code example Example: c# new list object var intList = new List<int>();