I have a method that takes an object as an argument. The method needs to identify the type of object. This is easily accomplished for simple types like String and Double, etc. I simply access the myObject.GetType().Name property.
But for generics like List<String>, etc. the Name property is always "List`1". I have to access the FullName property. This is cumbersome. Is their a better way?