Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# get name of type

typeof(T).Name // class name, no namespace
typeof(T).FullName // namespace and class name
typeof(T).Namespace // namespace, no class name
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #type
ADD COMMENT
Topic
Name
1+1 =