Keywords
Access Keywords
base
base
The base
keyword is used to access members of the base class from within a derived class.
Call a method on the base class that has been overridden by another method.
Specify which base-class constructor should be called when creating instances of the derived class.
It is an error to use the base
keyword from within a static method.
Contextual Keywords
partial
partial
Partial type definitions allow for the definition of a class, struct, interface, or record to be split into multiple files.
All the parts must use the partial
keyword, and must have the same accessibility, such as public
, private
, and so on. All the parts must be available at compile time to form the final type.
The partial
keyword isn't allowed on constructors, finalizers, overloaded operators, property declarations, or event declarations.
Last updated