What are class access modifiers ?
Access modifiers are keywords used to specify the declared accessibility of a member or a type. This section introduces the four access modifiers: Public – Access is not restricted. Protected – Access is limited to the containing class or types derived from the containing class. Internal – Access is limited to the current assembly. Protected inertnal – Access is limited to the current assembly or types derived from the containing class. Private – Access is limited to the containing type.
Access modifiers are keywords used to specify the declared accessibility of a member or a type. This section introduces the four access modifiers:Public – Access is not restricted.· Protected – Access is limited to the containing class or types derived from the containing class.Internal – Access is limited to the current assembly.· Protected inertnal – Access is limited to the current assembly or types derived · from the containing class.Private – Access is limited to the containing type.