Tuesday, May 8, 2012

Difference between default constructor and paramterless constructor?

A default constructor has no parameters. And nor does a constructor that you write with no parameters. So what is the ultimate difference in c#?



Added to this when you inherit a default constructor and a parameterless constructor are they exposed on the inheritting type exactly the same? Because my IOC container doesn't seem to think so. (Unity).



Cheers,
Pete





No comments:

Post a Comment