Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Static Class
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
01028423
Message ID:
01028515
Vues:
17
You misunderstood my question.

Intellisense doesn show both methods at once. So how
do you call both if you need to?




>>
>>Class1 oTest = new Class1();
>>oTest.Method1();		// Method1 is not static
>>
>>Test1.Class1.Method2();	// Method2 is static
>>
>>
>>What if I had to call both Method1 and Method2?
>
>I don't think that would be a problem. But I'm not sure what the advantage would be of designing a class that works like you describe.
>
>Malcolm
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform