Answers for "csharp get type from class name"

C#
3

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
Posted by: Guest on December-15-2020
0

c# get type of class

Type tp = value.GetType();
Posted by: Guest on September-15-2020

Code answers related to "csharp get type from class name"

C# Answers by Framework

Browse Popular Code Answers by Language