Modern Csharp Coding Standards · Aaronontheweb/dotnet-skills

Write modern, high-performance C# code

Provides modern C# coding guidance covering records, pattern matching, value objects, async/await, and Span<T>/Memory<T>, plus API design and composition-over-inheritance practices for writing idiomatic, high-performance, functional-style C# 12+ code.

Good for

  • Refactor a class into an immutable record
  • Apply pattern matching in a switch expression
  • Optimize a hot path with Span<T>
Category
General

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

Refactor this C# class to use records, pattern matching, and async/await following modern C# 12 coding standards.

Make your next great thing.

Bring a question, a file, or an idea that’s not quite there yet.