Patterns for high-performance C#