c# set properties array in constructor code example Example: c# new list object var intList = new List<int>();