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