c# object to model list code example Example: convert object to list of objects c# IList collection = (IList)myObject;