B
BillE
Does a subclass have to import namespaces which were already imported by the
superclass?
I have a base class which imports the System.Data.SQLClient namespace to use
the dataset member.
When I inherit this base class, the subclass must also import the
System.Data.SQLClient namespace to use its members.
I thought that a subclass would not have to re-import namespaces which were
already imported by the superclass.
Do I understand correctly, or am I doing something wrong?
Thanks
Bill
superclass?
I have a base class which imports the System.Data.SQLClient namespace to use
the dataset member.
When I inherit this base class, the subclass must also import the
System.Data.SQLClient namespace to use its members.
I thought that a subclass would not have to re-import namespaces which were
already imported by the superclass.
Do I understand correctly, or am I doing something wrong?
Thanks
Bill