Guys,

Do any of y'all know of this is possible in C#?

I have a generic method and I want to get the name of the type from method:

public virtual ItemType CreateSomething<ItemType>(...) where ItemType:
BaseSomething, New(){

...

}

Now, within the method I want to know the typename of the type that was
passed.
Is that possible?

Thanks,
Mike

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to