A
Arpan
The ASP.NET book that I am referring to learn ASP.NET says the
following:
----------------
If you don't provide a constructor that doesn't take any parameters,
you cannot do the following:
Dim mObject As New MyObject
----------------
Now isn't the above line (not the code line) wrong since ASP.NET
implicitly creates a no-argument constructor with the name "New" if a
class doesn't have a constructor? Hence the above code line is very
much valid, isn't it?
Please correct me if I am wrong.
Thanks,
Arpan
following:
----------------
If you don't provide a constructor that doesn't take any parameters,
you cannot do the following:
Dim mObject As New MyObject
----------------
Now isn't the above line (not the code line) wrong since ASP.NET
implicitly creates a no-argument constructor with the name "New" if a
class doesn't have a constructor? Hence the above code line is very
much valid, isn't it?
Please correct me if I am wrong.
Thanks,
Arpan