Type Design Performance · Aaronontheweb/dotnet-skills
Design .NET types for better performance
Covers performance-oriented type design in .NET: sealing classes, readonly structs, static pure functions, deferred enumeration, and choosing collection types. Useful when designing new APIs or reviewing code for performance issues.
Good for
- Choose between class, struct, and record
- Review code for performance-related type issues
- Pick collection types for an API boundary
- Source repository
- Aaronontheweb/dotnet-skills
- Category
- Design
Open-source skills are maintained by their authors and listed as published, with attribution. Results depend on how well the skill fits your task and material.
A good place to start
Review this C# type design and suggest performance improvements like sealing classes or using readonly structs.

Make your next great thing.
Bring a question, a file, or an idea that’s not quite there yet.