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