csharp get name of type

Code Example - csharp 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
                    
                
 

get type name csharp

                        
                                GetType()
                            
                        
 

Related code examples