cast an object to List C# code example Example: convert object to list of objects c# IList collection = (IList)myObject;