Click here to Skip to main content

Articles by Michael Freidgeim (Tip/Trick: 1)

Tip/Trick: 1

RSS Feed
No articles have been posted.
No blogs have been submitted.
No video articles have been posted.

Average tips rating: 4.00

Programming Tips

Convert ArrayList to a Generic List [Tip/Trick]
Posted: 23 Oct 2011   Updated: 23 Oct 2011   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
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();

Michael Freidgeim

Software Developer (Senior)

Australia Australia

Member



Advertise | Privacy | Mobile
Web02 | 2.5.120517.1 | Last Updated 27 May 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid