-
Junior Member
Can I access a class without an object
Hi & Hello
I am a dot net novice and this is my first thread in this forum. Please help me
Is it mandatory to create an object for every class if we want to access something written inside the class? or can we access anything inside the class without creating an instance/object?
Thanks in advance.
-
Junior Member
Re: Can I access a class without an object
Not all the time its required. If u have an static class ; u can access it without creating an instance
regards
syed qumruzzaman babu
-
Junior Member
Re: Can I access a class without an object
"Public Shared Class XYZ" can contain methods that can be accesed without instantiation.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules