By BlackWasp
via blackwasp.co.uk
Published: Jan 19 2013 / 10:41
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.
Comments
BlackWasp replied ago:
They were introduced in .NET 4.0 to minimise the need to use overloads. I wrote about them at http://www.blackwasp.co.uk/CSharpOptionalParameters.aspx.
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.
Voters For This Link (9)
Voters Against This Link (0)