© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
✅ typeof()? - 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#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
62,470
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
return Object<byte> after checking typeof(T) == typeof(byte)
C
C# / help
16mo ago
❔ Type is Typeof Dictionary
C
C# / help
4y ago
[✅ SOLVED] Difference between `typeof(...).Assembly`
C
C# / help
2mo ago
❔ Why is typeof(T).FullName a ``string?``, but typeof(T).Name a ``string``
C
C# / help
4y ago