Access Modifiers


Modifier  Effect  Default for
private  Accessible within the method or type in which it is declared type in which it is declared Members of classes and structs
internal  Accessible within the assembly Non-nested types nested types
protected  Accessible within a class and its derived classes  
protected internal Accessible within a class, its derived classes, or an assembly  
public  Accessible everywhere  Members of enums and interfaces

What's your thoughts on this?


Protected by WP Anti Spam