Why doesn't C# support default args?

  • Thread starter Thread starter Bob Rundle
  • Start date Start date
B

Bob Rundle

I've just created 4 contructors in C# with various combinations of
arguments. If I had been using C++ I would have needed only one because I
could have used default arguments. I find the lack of default arguments
exceedingly tedious.

What is the reason that C# does not support default arguments. Is it a
performance thing? A correctness thing?

Regards,
Bob Rundle
 
Back
Top