© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
27 replies
Messiah

❔ Storing static data

I'm working with lots of static data (best example I can think of are items in a game), would you store this data in a struct, static classes, or what?

I'm mainly looking for performance and best practices. How would you implement this? I'd appreciate some keywords I could google as well, not sure what to search 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

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Storing login data
C#CC# / help
4y ago
✅ Storing data per user
C#CC# / help
3y ago
❔ Getting cross-platform directories for storing data
C#CC# / help
3y ago
Storing protobuf in the database
C#CC# / help
7mo ago