How to Convert a Collection From One Type to Another Type Using LINQ Cast
Typically we have the problem of having a collection of objects which we would like to convert into another type of collection (for example, from an ArrayList to a List<>). If the collection inherits from IENumerable or IQueryable (List<> for example), we can use LINQ's ConvertAll. However, if the collection instead inherits from System.Collections (ArrayList [...]

Read Users' Comments (0)