Click here to Skip to main content
11,639,765 members (59,872 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Convert ArrayList to a Generic List

, 23 Oct 2011 CPOL 5.7K 1
You can filter all elements of arrayList that can be cast to the same type using Enumerable.OfType(Of TResult) Method[^]. List typedList = arrayList.OfType().ToList();




This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Michael Freidgeim
Software Developer (Senior)
Australia Australia
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150731.1 | Last Updated 23 Oct 2011
Article Copyright 2011 by Michael Freidgeim
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid