|
-
May 1st, 2007, 10:03 PM
#1
Thread Starter
Addicted Member
[2005] Concept of a constructor
Sometimes, when I studying a component, I noticed that it has 2 constructor (usually with C# component)
- Static MyComponent()
- Public MyComponent()
That's mean in VB, it has Shared contructor and Public constructor right? I don't have any idea why you need a Shared constructor and what are they use for? Can somebody explain this to me ?
Thanks
Michael
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
|
Click Here to Expand Forum to Full Width
|