default parameters

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Christopher

    default parameters

    One thing that really erks me is the lack of default parameters in C#,
    such that I have to write 16 versions of a constructor in C#, one for
    every permutation of default params in a C++ constructor, when
    migrating. While I know that C# does not support default parameters,
    can someone explain the reasoning behind why it does not?
Working...