What are class access modifiers



What are class access modifiers..

Answer / kirti

Access modifiers are keywords used to specify the declared accessibility of a member or a type. This section introduces the four access modifiers:

� Public - Access is not restricted.

� Protected - Access is limited to the containing class or types derived from the containing class.

� Internal - Access is limited to the current assembly.

� Protected inertnal - Access is limited to the current assembly or types derived � from the containing class.

� Private - Access is limited to the containing type.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

Explain ASP.NET MVC Identity and Security?

0 Answers  


Can you explain renderbody and renderpage in mvc?

0 Answers  


What is edm in entity framework?

0 Answers  


which are the key concepts of entity data model?

0 Answers   Microsoft,


How do assemblies find each other?

2 Answers  


Which is the institute which also caters to your personal development other than subject.

1 Answers   TCS,


What are the advantages of razor view engine?

0 Answers  


Explain the difference between viewbag and viewdata in mvc?

0 Answers  


Explain JSON Binding?

0 Answers  


How do you handle variable number of segments in a route definition?

0 Answers  


What is meant by bootstrap in mvc5?

0 Answers  


What are the ways to show data grid inside a data grid for a master details type of tables?

1 Answers  


Categories