Wednesday, 30 January 2019

Member accessibility


Access Modifier
Details
public
The member is available to code running in any assembly
protected
The member is available only within the containing class or in classes derived from the containing class
internal
The member is available only to code within the current assembly
Protected internal
The member is available to any code within the current assembly, and to types derived from the containing class in any assembly
private
The member is available only within the containing class