© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
5 replies
Pacrombie

❔ Trying to figure out a data type

I'm looking for a data type that is sort of like a Dictionary but with "multiple" values. Essentially a table.

For example, in the attached table, I want to be able to call something like
DataStructure.something(Enter, Xbox)
DataStructure.something(Enter, Xbox)
and have it return
A
A
. Or
DataStructure.something(Edit, PlayStation)
DataStructure.something(Edit, PlayStation)
and have it return
Square
Square
. I hope this makes sense.

Essentially I'm asking, is there a data structure that already exists in C# that I can leverage or would I have to make this class from scratch or what would be the best course of action?
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Trying to figure out an exercise
C#CC# / help
4y ago
✅ trying to figure out SQLite database encryption
C#CC# / help
2y ago
❔ Trying to figure out how to write a simple script
C#CC# / help
3y ago
✅ Trying to figure out how to loop game Avalonia
C#CC# / help
3y ago