Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to directly access class methods?
Message
From
19/06/2002 02:27:32
Czarina Joyce Villanueva
Innovision Systems International
Manila, Philippines
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
How to directly access class methods?
Miscellaneous
Thread ID:
00670022
Message ID:
00670022
Views:
43
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
Next
Reply
Map
View

Click here to load this message in the networking platform