|
-
Nov 4th, 2002, 06:41 PM
#1
Hyperactive Member
Basically, you can call any of the base constructors from your subclass constructors.
The : base(i) syntax allows you to specify which constructor to call, passing the appropriate parameter down to the base. This syntax is just as if you were creating a new instance of the base class.
If you don't do this, then the base constructor, base(), will always be called.
Does that help?
-scott
he he he
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
|