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