Click here to Skip to main content
11,639,305 members (68,232 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();



Compare Revision Minor Date Status Editor
3 - publicly available No 23-Oct-11 16:10 Available Deeksha Shenoy
2 No 22-Oct-11 23:48 Composing Andrew Rissing
1 No 22-Oct-11 21: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...

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