what is accessspecifier and explation each with example?

Answer Posted / chaithanya.a

These are also modifiers used to define scope of a type as
well as their members i.e who can access them who can't
c#supports 5 types
1.private
2.internal
3.protected
4.protected internal
5.public

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is session management in c#?

525


What is cls, cts and clr in net?

483


What is native image generator (ngen.exe)?

632


Are tuples mutable c#?

486


How do you declare a variable in c#?

513






What is the solution if you need to manipulate sets of items?

466


What is the difference between convert and parse in c#?

448


What is clr namespace?

488


What is difference between const and static in c#?

490


Why do you call it a process? What’s different between process and application in .net, not common computer usage, terminology?

528


What is the console on a mac?

468


What is default method in c#?

497


Helo , Help Me , Help Me About : C# Windows Application - Network How To Manage IP Client's Accessiblity To The Internet Share concise Substitute , Minor ISA Server

1455


What is the usage of transponders?

539


Tell us something about static linking and dynamic linking?

529