Link Details

C# optional parameters provide a handy way to create methods that can be called with a varying number of arguments but without the need to create overloaded versions. However, the way that they are used in referenced libraries can cause problems.

Posted by BlackWasp  |   Jan 19 2013 / 10:41

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.


User 210593 avatar

BlackWasp replied ago:

They were introduced in .NET 4.0 to minimise the need to use overloads. I wrote about them at

Reply 0 votes
User 265881 avatar

Topnotch replied ago:

@BlackWasp, Afrina_Teuku is not actually interested in the question or the answer, they are instead interested in posting large amounts of spam. Just a quick look at their profile and related comment history confirms this.

Reply 0 votes

Recommended Links

Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Play
  3. Akka
  4. Debugging JavaScript
  5. Design Patterns
  1. Apache Hadoop
  2. REST
  3. Java
  4. Git
  5. Java Performance
Connect with DZone