© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
4 replies
peppy

❔ Why is typeof(T).FullName a ``string?``, but typeof(T).Name a ``string``

And in which instances is
typeof(T).FullName
typeof(T).FullName
potentially
null
null
? Is there a circumstance in which I can't rely on that field being available?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

✅ typeof()?
C#CC# / help
2y ago
return Object<byte> after checking typeof(T) == typeof(byte)
C#CC# / help
14mo ago
❔ Type is Typeof Dictionary
C#CC# / help
3y ago
Since 'string' is a reference type, why doesn't the array update all elements with a modified string
C#CC# / help
3y ago