Accessibility in C#.Net
Accessibility Each member of a class has an associated accessibility, which controls the regions of program text that are able to access the member. There are five possible forms of accessibility. These are summarized in the following table.
Accessibility & Meaning
public --> public Access not limited
protected --> Access limited to this class or classes derived from this class
internal --> Access limited to this program
protected internal --> Access limited to this program or classes derived from this class
private --> Access limited to this class
Accessibility & Meaning
public --> public Access not limited
protected --> Access limited to this class or classes derived from this class
internal --> Access limited to this program
protected internal --> Access limited to this program or classes derived from this class
private --> Access limited to this class
1 Comments:
Really Very Useful
Post a Comment
Subscribe to Post Comments [Atom]
<< Home