P
Peter Kirk
Hi there
I just want to make sure I have some basic terminology 100% correct. It
concerns the term "default constructor" vs "no argument constructor".
In c# is it correct that the "default constructor" is a no-argument
constructor which is provided by the .NET platform for a class if the
programmer does not explicitly provide a constructor?
And while the "default constructor" is a constructor with no arguments, if
the programmer supplies a no-argument constructor then this constructor is
NOT a "default constructor" - it is a "no-argument" constructor?
(So is there a difference between a "default constructor" and a "no
argument" constructor? And is there an accepted name for a "no argument"
constructor?)
Thanks,
Peter
I just want to make sure I have some basic terminology 100% correct. It
concerns the term "default constructor" vs "no argument constructor".
In c# is it correct that the "default constructor" is a no-argument
constructor which is provided by the .NET platform for a class if the
programmer does not explicitly provide a constructor?
And while the "default constructor" is a constructor with no arguments, if
the programmer supplies a no-argument constructor then this constructor is
NOT a "default constructor" - it is a "no-argument" constructor?
(So is there a difference between a "default constructor" and a "no
argument" constructor? And is there an accepted name for a "no argument"
constructor?)
Thanks,
Peter