Tuesday, May 13, 2008

Do you need to instantiate a class before accessing a Shared (static) member? Why or why not?

Because a Shared (static) member belongs to the type rather than to any instance of the type, you can access the member without first creating an instance of the type.

No comments: