Use AssemblyQualifiedNamein an instance of Type:
typeof(string).AssemblyQualifiedName
Or:
typeof(YourClass).AssemblyQualifiedName
In addition, if you have an instance of an object and want to know the full name of this type; use GetType()to get the Type instance from the instance.
source
share