What are the different access modifier? Explain in detail?
Answer Posted / pushparaj pentakota(anakapalli
public == accessble from any where,no restriction.
private == aceessble only from within the class only.
protected == accessble from same class and child class also
but not from non-child class.it may be within
project or out side of the project also.
internal == accessble only from same class and child class
and non-child class also but within the project
only.
protected internal == accessble from any where except
non-child class of out side of the
project.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between state server and sqlserver : Dot net architecture
Explain about continuable exceptions?
How is the using() pattern useful? What is idisposable?
Explain the five stages in a dlx pipeline? : Dot net architecture
question related to table havi colspan and row span
Which software is used for .net programming?
what is the difference between running an application with and without debugger?
What is the application frame host?
What is the cli? Is it the same as the clr?
Are there any third party logging components available?
Explain Intermediate Language?
What is MS chart control in visual studio?
Explain the race around condition? : .NET Architecture How can it be overcome? : .NET Architecture
How can we perform data binding in atlas?
Explain the purpose of cache? How is it used? : Dot net architecture