Explain the access modifiers in c#?
Answer / Amit Kumar Batar
C# has four access modifiers: private, protected, internal, and public. Private is only accessible within the class it is declared; Protected can be accessed within its own class or derived classes; Internal can be accessed within the same assembly (DLL or EXE); Public is accessible from any code that uses the class.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a delegate?
What is stringwriter c#?
How big is an int in c#?
write a c# program add two matrix with input number ?
what are the different ways to cleaning up objects?
What is the difference between private and protected in c#?
What is asynccallback c#?
What is the execution entry point for a c# console application?
What happens if the inherited interfaces have conflicting method names?
What is the name of the implicit input parameter of a set accessor for any property?
Is system a class in c#?
What is use of console?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)