Skip to content
Search

Posts by Kristijan Kralj

link to 4 Intriguing Ways to Order Function Parameters

4 Intriguing Ways to Order Function Parameters

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...

Continue Reading
link to Unleash the Power of C# Design Patterns

Unleash the Power of C# Design Patterns

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...

Continue Reading
link to 4 Smart Ways to Avoid Pitfall of Too Many Method Parameters

4 Smart Ways to Avoid Pitfall of Too Many Method Parameters

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...

Continue Reading
link to When to Use Abstract vs Virtual Method to Boost Efficiency

When to Use Abstract vs Virtual Method to Boost Efficiency

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...

Continue Reading
link to Optional Parameters vs Method Overloading: 6 Key Differences

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...

Continue Reading
link to 4 Strategies to Deal with Too Many Constructor Parameters

4 Strategies to Deal with Too Many Constructor Parameters

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...

Continue Reading
« PREV Page 1 Page 2 Page 3 Page 4 Page 5 … Page 29 NEXT »

About the Author

5 Secret Steps To Improve Your Code Quality
Do you want to build better, cleaner, and more manageable C# code?

Improve your coding habits with these not-so-obvious 5 tips and tricks. 

This FREE email course (value $37) shows you how to automatically identify and remove the most common code smells.

You don't need any third-party tool or plugin, only Visual Studio.

Join 317 developers who already use these amazing steps in their daily job.
We respect your privacy. Unsubscribe at any time.
  • Home
  • Privacy & Cookie Policy
  • Terms and conditions
  • About MethodPoet
  • About Kristijan Kralj
©2023 MethodPoet