|
-
Sep 5th, 2005, 04:55 AM
#1
Thread Starter
Addicted Member
Invoking Base Class Constructor [Resolved]
I'm very new to C# and have a quick question...
When a class is derived from a base class, is the base class constructor always invoked when an instance of the derived class is created, regardless of whether ": base()" is added to the derived class constructor?
e.g I have a "Control" class, and a "Listbox" class which dervies from it.
When I create an instance of "Listbox", is the "Control" constructor always invoked?
Thanks...
Last edited by Kezmondo; Sep 5th, 2005 at 05:39 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|