I’m looking at the parameters of a method and extracting the types. I get back (for instance) “System.String&”, because the parameter is an out parameter. I want to know whether the parameter is a String – but there doesn’t seem to be a way of converting a String& to its non-ref counterpart.
Can anyone point me in the right direction?
Thanks!
Type.GetElementType
Example: