Skip to content

AhmedTarekHasan/OptionalParameters

Repository files navigation

Why To Be Cautious When Using Optional Parameters In .NET C#

Something dangerous you didn't know about Optional Parameters in .NET C#


We all know about Optional Parameters and we love to use them instead of defining too many method overloads.


However, there is something important which you need to keep in mind while using Optional Parameters especially if you are developing your own class library.


In this article, I will show you something that could blow your mind.


If you are interested into reading more about this topic, you can read the rest of the article.


If you want to support me:

▶ Subscribe to Medium using my referral link
▶ Subscribe to Medium Newsletter
▶ Subscribe to LinkedIn Newsletter
▶ Follow me on Medium
▶ Follow me on Twitter
▶ Follow me on LinkedIn


Authors: