Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to directly access class methods?
Message
De
19/06/2002 02:27:32
Czarina Joyce Villanueva
Innovision Systems International
Manila, Philippines
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
How to directly access class methods?
Divers
Thread ID:
00670022
Message ID:
00670022
Vues:
41
I created class library and after compiling it, I want to access or use it in other projects. I successfully attached the class dll in my project but why is it that everytime I want to use the method properties I need to create new instance of the class?

MyClassMethod myClsMethod = new MyClassMethod();
int var1 = myClsMethod.GetTotalTax();

I've seen VFPToolkit source code but using it is very easy. There is no need to create new instance of the class. Why?

TIA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform