Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing overloaded constructors
Message
 
À
10/09/2004 12:43:38
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00941066
Message ID:
00941689
Vues:
27
Nope. It's:
public MyClass(int x, int y):base()
>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
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform