String or string in C#?
C# `string` is an alias for `System.String`, making the choice primarily a matter of style and team consistency.
Related pieces.
More from the same corner of the workbench.
Unit of Work with Entity Framework Core Done Right
Learn what the Unit of Work pattern is, why EF Core's DbContext already behaves like one, and when a thin abstraction helps. We walk through small, runnable C# examples that show single commit flows, explicit transactions, and resilient retries. You will see how to avoid partial saves, how to wire dependencies with clean lifetimes, and which pitfalls to skip when layering repositories and services.
4 min0 likes → Article / windowsFrom sln to slnx in Minutes: Cleaner Diffs, Faster Merges
Solution files got an upgrade in .NET 10. This guide explains what .slnx is, why it replaces .sln, and how to migrate using the CLI, Visual Studio, or Rider. Learn how it reduces merge conflicts, what changes in CI and Docker, and how to roll it out to a team with confidence.
4 min1 like → Article / aspnetcoreFive DI Anti-Patterns Haunting .NET Apps and how to fix Them
Dependency injection is powerful until small mistakes turn into late night outages. This post walks through five common DI anti patterns in .NET, shows why they fail, and gives compact fixes. Learn lifetime rules, avoid hidden dependencies, and make testing easy.
4 min0 likes →