what is accessspecifier and explation each with example?
Answer Posted / pranoti moghe
There are basically 5 access specifiers in .net...
Public - meaning members can be accessed from anywhere..even outside the assembly...
Private - meaning members cannot be accessed outside a class..
Protected - meaning members can be accessed in that class and to the derived classes....
Protected internal
Internal
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Define a manifest in .net?
What is an escape sequence? Name some string escape sequences in c#.
What is a dimensional array?
What is linq c#?
Is string immutable in c#?
What is yield return in c#?
What is difference between string and string builder?
How is a string immutable?
What is the difference between finalize() and dispose() methods?
Why do we use static methods in c#?
What is default method in c#?
What is private class in c#?
What's the difference between System.String and System..StringBuilder in C#?
What is the difference between a constant and a static readonly field?
What is the main method?