I created a class derived from List. However when I tried casting the class to another List object I get a runtime error. My code is similar to the one posted below:
try this
public class CategoryObjCollection:List { public CategoryObjCollection(IEnumerable items) : base(items){} } cat = new CategoryObjCollection(qry);