I don’t really know what to add to the title, I’d like to get the Type (T) of a Nullable.
For example, I got a an object whose Type is Nullable and I’d like to get something like “System.Int32” (the type of course, not the string)
I don’t really know what to add to the title, I’d like to get
Share
Try this : Nullable.GetUnderylingType(myType)
FYI : myType must be a Type