- I have a base class, "B", which has two constructors, one with no paremeters and the other that accepts one param, an integer
- I have a subclass, "S", which inherits from "B" and does not define any constructors in it.
- I create an instance of S, attempting to pass to the constructor an integer.
I get the error:
Error 1 Too many arguments to 'Public Sub New()
"
This surprises me because I thought that if a sub is not defined in the subclass, S, that the base class constructor method, specifically, the one with the single integer param would be invoked w/o an error.
Do you have any idea why I am getting this error? Are constructors a special case?