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 the meaning of console writeline in c#?

444


Can list contain duplicates c#?

485


What is task parallel library?

507


Is c# and c sharp same?

485


What is a copy constructor in c#?

494






What is entity framework in c#?

473


What is an icollection in c#?

487


Explain the OOPS concept in C#?

579


What is a variable in c#?

471


How do I edit a dll file?

451


Can an abstract class inherit from another abstract class c#?

544


What is verbatim string literal in c#?

471


How do you pass reference parameters in c#?

448


What is an array? Give the syntax for a single and multi-dimensional array?

488


How are Windows programs different from normal C-programs?

1664