NDepend Blog

Improve your .NET code quality with NDepend

Improve C# code performance with Span<T>

March 24, 2025 9 minutes read Welcome to our deep dive into System.Span<T> and System.ReadOnlySpan<T>. Introduced in C# 7.2 (2017) and supported by the .NET Core runtime, these powerful structures...
NDepend March 24, 2025

C# Async/Await Explained: Complete Guide with Examples [2025]

March 20, 2025 9 minutes read In modern C# and .NET development, the introduction of async/await has been a game-changer. While synchronous execution works in many cases, it can cause...
NDepend March 20, 2025

C# Optional Parameters Explained

March 18, 2025 3 minutes read C# optional parameters enable methods, constructors, indexers and delegates to be called without specifying all arguments. This simplifies method calls and improves readability by...
NDepend March 18, 2025

.slnx The New .NET Solution XML File Format

March 17, 2025 3 minutes read On March 13th, 2025 Microsoft officially announced the a new .NET solution file format with file extension .slnx. For example for this simple solution:...
NDepend March 17, 2025