csharp-dotnet-patterns
Installation
SKILL.md
C# .NET Best Practices
Modern C# and .NET patterns for enterprise applications.
Async/Await Pattern
public async Task<User> GetUserAsync(int id)
{
using var client = new HttpClient();
var response = await client.GetAsync($"https://api.example.com/users/{id}");
response.EnsureSuccessStatusCode();
return await response.Content.ReadAsAsync<User>();
}