Convert 'ArrayList' to 'List<string>' (or 'List<T>') using LINQ

Viewed 70964

I want to convert an ArrayList to a List<string> using LINQ. I tried ToList() but that approach is not working:

ArrayList resultsObjects = new ArrayList();
List<string> results = resultsObjects.ToList<string>();
4 Answers
Related