Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing overloaded constructors
Message
From
10/09/2004 12:43:38
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00941066
Message ID:
00941103
Views:
29
Neil,

Oh yeah, I forgot about that.
public MyClass(int x, int y):this()
{
    // code here
}
Thanks for reminding me. =)

~~Bonnie

>Rex,
>
>This is known as constructor chaining and involves the use of this. A good example of chaining and most constructor related issues can be found at the following site.
>
>http://www.c-sharpcorner.com/Language/ConsNDestructorsInCSRVS.asp
>
>regards
>Neil
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform