NDepend Blog

Improve your .NET code quality with NDepend

C# Optional Parameters Explained

April 12, 2024 3 minutes read C# optional parameters allow methods, constructors, and indexers to be invoked without providing arguments for those optional parameters. This feature is particularly useful when...
NDepend April 12, 2024

C# Pattern Matching Explained

April 11, 2024 7 minutes read   Since the C# version 7, C# has support for pattern matching. C# pattern matching is here to simplify complex if-else statements into more...
NDepend April 11, 2024

Abstract Class vs Interface in C#

April 5, 2024 7 minutes read Abstract Class vs Interface in C# is a fundamental trade-off to master. Understanding the distinction between each option is fundamental for crafting flexible and...
NDepend April 5, 2024

Understand Directory.Build.props: Centralizing .NET Project Configurations

April 4, 2024 4 minutes read In the world of .NET development, managing project configurations and properties efficiently can significantly streamline your development process. One powerful but often underappreciated feature...
NDepend April 4, 2024