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?


{
  Type genericType= typeof(ItemType);
  string genericName= genericType.FullName;
}

===================================
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