c# display list of objects without specifying the property code example Example: c# new list object var intList = new List<int>();