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
inprocess vs out process session state : Dot net architecture
Explain .net mobile events? : Microsoft dot net mobile
How to prevent my .NET DLL to be decompiled?
what is sessions and cookies take one example simple way to understand
What is the use of TPL DATAFLOW?
What is difference between Desktop, Client Server & Web based applications?
Explain dma? : .NET Architecture
Can I create my own context attributes?
Define an interrupt? : Dot net architecture
What is the difference between machine config vs. Web config : Dot net architecture
how can we achieve language interoperability through CLS? How MSIL works?
Can you explain server controls in atlas?
What happens to the winfx technologies?
Explain the five stages in a dlx pipeline? : .NET Architecture
How to improve the cache performance? : Dot net architecture