TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Cody Skidmore
NA
5
0
Type T, object, & List
Nov 20 2009 6:04 PM
I have a method that receives an object parameter. In some instances, the actual type is a List of unknown type. I need to cast the parameter to a List and process the list items. I got close using Type.IsGenericType and GetGenericArguments(). Does anyone know how to do this?
Reply
Answers (
5
)
Pre tag
Style sheet ,C#,windows forms