Show/Hide Toolbars

XSharp

Modifiers are language keywords that are used to modify the visibility of a program element (function, global, class, property etc), or the way they operate within a type hierarchy.

There are several groups of modifiers that will be discussed in these subtopics.

 

Visibility Modifiers

PUBLIC, EXPORT, PROTECT, PROTECTED, PRIVATE, HIDDEN, INTERNAL

Class Hierarchy Modifiers

VIRTUAL, OVERRIDE, ABSTRACT, SEALED

STATIC modifier

STATIC

ASYNC / AWAIT

ASYNC, AWAIT

Other Modifiers

PARTIAL, EXTERN, UNSAFE