G
Guest
When I create my own class, to use the functions of that class I have to
create an object of that class and then I can access the functions of that
class,
for example:
dim obj1 as myclass
obj1 = new myclass
obj1.myfunction("parameter")
However, when I use .net class e.g. strings I do not need to create a
object, I can directly use it?
e.g.
x = strings.left("abc",2)
What do I have to do, so that the functions of my class can also be accessed
in the same fashion.. e.g.
myclass.myfunction("parameter")
create an object of that class and then I can access the functions of that
class,
for example:
dim obj1 as myclass
obj1 = new myclass
obj1.myfunction("parameter")
However, when I use .net class e.g. strings I do not need to create a
object, I can directly use it?
e.g.
x = strings.left("abc",2)
What do I have to do, so that the functions of my class can also be accessed
in the same fashion.. e.g.
myclass.myfunction("parameter")