Why doesn’t C# support default parameters?


A post in the new C# FAQ Blog. The items will be showing up on the C# dev center in the near future.

Comments (1)

  1. Prapti says:

    Hi! Eric

    I couldn’t get the part —

    "The overloading model works better in this respect. The framework author just defines two separate methods, and the single-parameter one calls the two-parameter method. This keeps the default value in the framework, where it can be modified if necessary."

    I would appreciate it if you can explain the details of the process.

    With Regards

    Prapti

Skip to main content