c# list generic show code example Example: c# list object List<object> Obj = New List<object>(); Obj.Add((cast any)object);