8,868,272 members and growing!
Email
Password
Lost password?
Home
Articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Video Articles
Technical Blogs
Submit an Article or Tip
Post your Blog
Posting/Update Guidelines
Article Competition
Quick Answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C++ questions
C#4.0 questions
Discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Other Languages
>
General Indian Topics
General Chinese Topics
Zones
The Commerce Zone
The Mobile & App Zone
The Cloud Zone
The Hardware Zone
The Parallelism Zone
The WPF / Silverlight Zone
The Flex / Flash Zone
The HTML5 / CSS3 Zone
SharePoint Zone
The SQL Zone
WhitePapers / Webcasts
Solutions Center
Features
Who's Who
Most Valuable Professionals
Company Listings
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Press Releases
Surveys
CodeProject Stuff
Help!
What is 'The Code Project'?
General FAQ
Post a Question
Bugs and Suggestions
Site Map
Advertise with us
About Us
The Lounge
The Insider News
The Lounge
Clever Code
Hall of Shame
The Soapbox
Search within:
Articles
Quick Answers
Messages
Product Catalog
Member Pages
Member's Profile
Messages posted
Articles submitted
Blog Feeds
Technical Blog Articles
Video Articles
Recommendations
Membership FAQ
Articles by Michael Freidgeim (Tip/Trick: 1)
Tip/Trick: 1
Articles
Technical Blogs
Videos
Tips
No articles have been posted.
No blogs have been submitted.
No video articles have been posted.
Average tips rating: 4.00
Programming Tips
General
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
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