For training related to .net,OOPS,design patterns, MVC,WCF and .net fundamentals
contact at sukeshmarla@gmail.com or Click Here

26 April 2011

Access Modifier Chart

 

Private

Internal

Protected

Protected Internal

Public

With In class

Y

Y

Y

Y

Y

With IN child class of same project

N

Y

Y

Y

Y

With IN Non child class of same project

N

Y

N

Y

Y

With IN child class of other project

N

N

Y

Y

Y

With IN Non child
class of other project

N

N

N

N

Y