?

Log in

Previous Entry | Next Entry

There are 5 access modifiers. Access modifiers define scope for members.


  • Private: Accessible only with in the class.

  • Protected: - Accessible with in the class and in derived classes.

  • Friend (internal in C#):- Accessible anywhere within the current project.

  • Protected friend (protected internal in C#):- Accessible with current project and derived classes.

  • Public: - Accessible everywhere.

net

This interview question taken from my book Most asked .NET interview questions

See the following video on difference between string and string builder in C# and .NET training: -


Do not forget to see our .NET interview question videos

Regards,

Click to view more from author's on Dotnet interview questions and answers

Copy right www.questpond.com

Buy 600+ Real Time Interview Videos

Call +91-22-66752917 or mail us on questpond@questpond.com for more details on C#, .NET, ASP.NET, SQL Server interview question videos.

SQL Server interview question videos

Latest Month

January 2017
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
293031    

Tags

Powered by LiveJournal.com