Just use .Name like this:
typeof(T).Name
This gives for example “String”, there’s also .FullName which would give “System.String”
Just use .Name like this:
typeof(T).Name
This gives for example “String”, there’s also .FullName which would give “System.String”