3 comments on “Exploring Dependency Injection in C# and Top 3 DI Containers – part 2.”

Exploring Dependency Injection in C# and Top 3 DI Containers – part 2.

In the previous article, we covered some topics that are important for understanding Dependency Injection. We considered that Dependency Injection is not just one principle, but an orchestration of many good practices, like Single Responsibility Principle and Dependency Inversion Principle. Apart from that,…

9 comments on “Abolishing Switch-Case Statement and Pattern Matching in C# 7.0”

Abolishing Switch-Case Statement and Pattern Matching in C# 7.0

There are many arguments on the web regarding the switch-case statement. It seems that half of the programmers think that switch-case statement is actually an anti-pattern, and other half claims there are in fact use cases for this concept. Usually, the…

3 comments on “Single Responsibility Principle on different levels of abstraction”

Single Responsibility Principle on different levels of abstraction

Somewhere in the early 2000s Robert C. Martin, most commonly known as Uncle Bob, came up with first five principles of Object Oriented Programming and Design - SOLID principles. SOLID is one astute acronym, in which each letter stand for different…