Accessibility keywords in C# The following is the list of accessibility keywords in C#. Public – Visible in the current and referencing assembly. Private – Visible inside the current class. Protected – Visible inside the current as well as in the derived class. Internal – Visible inside the containing assembly. Internal protected – Visible inside the containing assembly, also in the descendent of the current class. Next are the modifiers which refine the declaration of a class. Here is the list of all supported modifiers in C#. Sealed – The class stops inheriting by any derived class. Static – The class contains only static members. Unsafe – The class that stores unsafe types likes pointers. Abstract – No instance of the class if the Class is abstract.
A Blog For Passionate Dot net Developers