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
how can we achieve language interoperability through CLS? How MSIL works?
How to improve the cache performance? : .NET Architecture
i wish to write mcts(microsoft certified technology specialist) exam. can anyone give the model question or format and preparation method?
Explain 'managed' mean in the .NET context
inprocess vs out process session state : Dot net architecture
How is the using() pattern useful? What is idisposable?
Explain difference between inprocess vs out process session state? : .NET Architecture
Can I create my own context attributes?
Explain cache? : Dot net architecture
What is a managed code is dim fs as filestreamobject is a managed code? : .NET Architecture
Which software is used for .net programming?
deference between display and visibility property of CSS
Is .net easier than java?
The maximum report processing jobs limit configured by your system administrator has been reached.How I can Solve this problem when i using crystal report to load from my application.
Explain cache? : .NET Architecture