using list to initiate object of class in c# code example Example: c# new list object var intList = new List<int>();