Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# get class name by 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: #class #type
ADD COMMENT
Topic
Name
3+9 =