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.

Welcome to another issue of Dev Leader Weekly! In this issue, I discuss feeling out of place on a good team, understanding unfamiliar habits, and challenging the status quo without pushing an agenda.
This week covers C# operators, delegates, collections, MongoDB reads, and connecting Claude Code to your .NET workflow. Plus videos on AI-assisted redesign, desktop development, developer confidence, and setting boundaries at work.
Go deeper into the core topics on Dev Leader, from .NET and AI to software engineering and career growth.