What are the access-specifiers available in c#?

Answer Posted / rajendra

In C# .net the access specifiers are:
1.private
2.Internal
3.protected
4.protected Internal
5.Public

In VB.net the access specifiers are:
1.Private
2.Friend
3.Protected
4.Protected Friend
5.Public

Is This Answer Correct ?    8 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between abstract class and interface in c#?

477


What is difference between value and reference types in C#.NET

523


What is strongly typed in c#?

498


What is the difference between hashtable and dictionary in c#?

478


Why are strings in c# immutable?

503






How do you convert byte array to hexadecimal string, and vice versa?

539


What is the usage of OLE?

588


What is ispostback c#?

483


Please explain value types and reference types used in c#?

478


When To use HashTable In C#

551


What is window application in c#?

500


Can bool be null c#?

501


who is a protected class-level variable available to?

546


Does c# support const methods, properties, or events?

549


How do I create a .exe file?

485