© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
25 replies
Nacho Man Randy Cabbage

Best container for ~1 million objects

What would be the best container choice for ~1 million objects? The objects would be in order, but I would need the ability to jump to any random object quickly (which makes me think dictionary). But at some point I'd need to add in filtering/search based on the properties in these objects. performance is the main concern.

The idea is the user can view the details (properties) of one object a a time, and use a prev/next/jumpto control to go between them. But eventually they want to export these objects after a filtering is applied.
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

✅ Best approach for returning typed objects
C#CC# / help
11mo ago
❔ best practices for updating objects using GroupBy
C#CC# / help
3y ago
Best Practices for Instantiating Objects in C# Source Generators
C#CC# / help
2y ago