© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
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.
61,871
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
14mo ago
❔ Type is Typeof Dictionary
C
C# / help
3y ago
[✅ SOLVED] Difference between `typeof(...).Assembly`
C
C# / help
2d ago
❔ Why is typeof(T).FullName a ``string?``, but typeof(T).Name a ``string``
C
C# / help
3y ago