© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
10 replies
KleinRiese

✅ typeof()?

I am trying to arrange objects in a hashmap:
The key should be the class and the Value a List with the instances of this class.
Is typeof ()the right function for this?
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

return Object<byte> after checking typeof(T) == typeof(byte)
C#CC# / help
14mo ago
❔ Type is Typeof Dictionary
C#CC# / help
3y ago
[✅ SOLVED] Difference between `typeof(...).Assembly`
C#CC# / help
2d ago
❔ Why is typeof(T).FullName a ``string?``, but typeof(T).Name a ``string``
C#CC# / help
3y ago