Safe Refactoring in C#: A Workflow for Behavior-Preserving Changes
Learn safe refactoring in C# with a worked workflow for recording behavior, making small changes, reviewing semantic differences, and preserving API contracts.
C# and .NET by Nick Cosentino
Practical, in-depth content for software engineers and technical leaders. Learn C#, .NET, software architecture, AI-assisted development, and engineering leadership with guidance you can apply on your team today.

The latest articles on software engineering, architecture, AI, and career growth.
Learn safe refactoring in C# with a worked workflow for recording behavior, making small changes, reviewing semantic differences, and preserving API contracts.
Learn composition in C# through dependency ownership, shared references, and disposal boundaries, including why borrowers should not dispose injected services.
Learn C# operator precedence, associativity, and operand evaluation order with practical examples that separate expression grouping from observable work.
Learn MongoDB reads in C# with typed projections, unique sort tie-breakers, bounded results, and pagination boundaries without repeating basic filter tutorials.
Go deeper into the core topics on Dev Leader, from .NET and AI to software engineering and career growth.