Quick reference for C# access modifiers and inheritance keywords used in object-oriented design.
License: CC0 1.0 Universal (Public Domain Dedicat...
Please review the full license terms to understand your rights and obligations.
front Abstract | back Used in base classes. No implementation — must be implemented in child. |
front Virtual | back Has a default implementation, but can be overridden. |
front Override | back Replaces a virtual or abstract method from the base class. |
front Sealed | back Prevents further inheritance/overriding of a class or method. |
front Static | back Belongs to the type, not an instance. Shared across all instances. |
front Const | back Compile-time constant. Always static. Must be initialized at declaration. |
front Protected | back Accessible within the class and subclasses. |
Download the #1 distraction-free learning app for iOS and Android
5 minutes a day · 90% retention rate · Study anywhere, anytime