ok....I thought that.  Thanks Mattias and Ray.

-----Original Message-----
From: Mattias Sjögren [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 2:15 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] inheriting an object


Franklin,

>If I inherit an object that has a new sub and I don't create a new sub to 
>call mybase.new, does it get called anyway?

Yes. Unless there's no parameterless constructor in the base class, then 
you get a compile error.


Mattias

===
Mattias Sjögren
[EMAIL PROTECTED]

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to