what is the default access modifier in vb.net

Posted by Shanky11 under VB.NET on 2/25/2013 | Points: 10 | Views : 5872 | Status : [Member] | Replies : 3
what is the default access modifier in
for class and method vb.net




Responses

Posted by: Shameer.Ali87 on: 2/25/2013 [Member] Starter | Points: 25

Up
0
Down
hi, check this.

Class variable Private(VB.NET) Private(C#)
Class method Public(VB.NET) Private(C#)
Structure variable Public(VB.NET) Public(C#)
Structure method Public(VB.NET) Private(C#)

reference: http://www.careerride.com/Dot-Net-default-access-modifier.aspx


shameer ali shaik

Shanky11, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Shanky11 on: 2/25/2013 [Member] Starter | Points: 25

Up
0
Down
sameer
in c sharp internal access specifier is for class and private for method


Shanky11, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Satyapriyanayak on: 2/25/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
default access modifier Class variable Private
default access modifier Class method Public


If this post helps you mark it as answer
Thanks

Shanky11, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response