❔ Why is typeof(T).FullName a ``string?``, but typeof(T).Name a ``string``
And in which instances is
typeof(T).FullName
potentially null
? Is there a circumstance in which I can't rely on that field being available?3 Replies
No and no
Compare the values and you will see the difference
Alright. I read up the MSDN article as well. Long story short, something like
typeof(ExampleClass).FullName
is always there and so is typeof(T).FullName
in, for instance, public void Method1<T>()
. This is all I need, so if I've understood that right, all good.Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.