In C# when I create an empty class it provides a default constructor however when I provide a constructor with parameters the default constructor is no longer created.
My questions are:
- why does the compiler no longer give me the default constructor as well?
- Is there a setting so that this default constructor is always generated?
These questions arose from working with WCF where I require the default constructor but also want to be able to provide a constructor with values and it would be nice not to have to place the default constructor in every time and I wouldn't think unused default constructors would make much overhead.