S
Scott M.
I know that if a class has shared members, I don't have to have an instance
of the class to use the member(s) (i.e. messagebox.show). But, does this
mean that a class that does not require an instance to use it MUST be using
shared members.
For example, why am I allowed to do this without an actual instace of the
class:
Dim x as Textbox
x.text = "test"
This does not create an instance of a textbox and the text property is not
shared, yet the code still is valid.
of the class to use the member(s) (i.e. messagebox.show). But, does this
mean that a class that does not require an instance to use it MUST be using
shared members.
For example, why am I allowed to do this without an actual instace of the
class:
Dim x as Textbox
x.text = "test"
This does not create an instance of a textbox and the text property is not
shared, yet the code still is valid.