The ordering of parameters of a function may seem less important than other program concerns. Thus, you might randomly order them in most of your functions. Nonetheless, this random ordering...
Posts by Kristijan Kralj
Do you struggle to create maintainable code in C#? Do you feel like you are constantly reinventing the wheel while trying to solve problems that lead to messy code? If you do, don't worry. You...
Developers often underestimate methods. Why? Because they are an integral part of C#, and you can reuse them. However, sometimes, they require variables/values passed as parameters to perform...
Abstract and virtual methods are two important methods for achieving the principles of object-oriented programming and method overriding for specific functionality implementations. The abstract...
Optional Parameters vs Method Overloading: 6 Key Differences
When you want to reuse a method or just its name: you have two options. You can either use optional parameters or use method overloading. Optional parameters allow you to call a method while...
If you are a C# developer, you must be using constructors as long as you can remember. A constructor is the first thing your class invokes when instantiated, and you will generally use it to...