Click here to Skip to main content
12,954,522 members (54,146 online)
Click here to Skip to main content

Tagged as


1 bookmarked
Posted 23 Oct 2011

Convert ArrayList to a Generic List

, 23 Oct 2011 CPOL
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();



Compare Revision Minor Date Status Editor
3 - publicly available No 23-Oct-11 10:10 Available Deeksha Shenoy
2 No 22-Oct-11 17:48 Composing Andrew Rissing
1 No 22-Oct-11 15:17 Composing Michael Freidgeim


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...

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