Interfaces are one of the most common types in any C# application. But did you know that you can make them more flexible by adding optional parameters to them? Optional parameters in C#...
Posts by Kristijan Kralj
The opportunity to improve the code can come in many forms. Split the method into smaller pieces. Remove nested if statements. But one of the small improvements you can make is to remove...
One of the most fundamental things you can do in the code is to create new objects. Whether you create a new instance manually or use a dependency injection container, classes need other objects...
State Design Pattern in C#: Real-World Example and Use Cases
In any software application, there will be many different features or modules that need to work together. Some of them will be simple. Some of them will be a bit more complex. And perhaps...
There comes a time in the life of every software development project when developers and managers need to make a decision: what to do with the old code? Should they invest the time and effort into...
There is a new threat for developers on the horizon. And no, I’m not talking about the possibility of Elon Musk buying the Stack Overflow and then starting to charge access to it. No, I’m...