What are the access-specifiers available in c#?
Answer Posted / archana
1. public - The member can be accessed from anywhere
2. internal - The member can only be accessed from type it
originates from or other types in the same assembly
3. protected - The member can only be accessed from the type
it originates from or from detrieved types of the
originating type
4. private - The member is only accessible by other members
within the type it originates from.
| Is This Answer Correct ? | 52 Yes | 65 No |
Post New Answer View All Answers
What is the best dependency injection c#?
If dll and exe files are same it means you can deploy both the files in gac?
What is the difference between proc. Sent by val and by sub?
How does split work in c#?
Can a class have static constructor?
What is difference between override and new in c#?
What are the desktop applications?
How many types of delegates are there in c#?
How do I run managed code in a process?
What are extender provider components?
What does console readkey do in c#?
What is difference between dictionary and list in c#?
What is a c sharp?
What is winforms c#?
What is dependency in software?