Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The first three are access modifiers, they can be applied to types and members. <strong>private</strong> means something can only be accessed from within its declaring type. <strong>protected</strong> means something can be accessed by inheritors of the declaring type, or by something in the type itself. <strong>public</strong> means something can be accessed from anywhere that has a valid reference to the declaring type.</p> <p>The rest can also be applied to both types and members. <strong>abstract</strong> <em>(on a member)</em> means the member has no implementation (the implementation must be provided by inheritors of the type) or <em>(on a type)</em> that the type cannot be instantiated (only inherited). <strong>static</strong> <em>(on a member)</em> means that the member is shared statically by all callers, or <em>(on a type)</em> that the type can only contain static members and therefore cannot be instantiated (i.e. it doesn't have any instance members and therefore cannot serve any instances of itself). <strong>sealed</strong> <em>(on an inherited virtual or abstract member)</em> means that inheritors of the type cannot override the member, or <em>(on a type)</em> that the type cannot be inherited from.</p> <p>There are a couple of other modifiers you should be aware of: <strong>internal</strong> is another access modifier that means that something can be accessed by anything within the same assembly (or project) as the declaring type.</p> <p>Also, <strong>virtual</strong> <em>(on a member)</em> means that the member may optionally be overridden by an inheritor of the type, but supplies its own default implementation. <strong>partial</strong> <em>(on a member)</em> allows you to provide the signature of a member in one file, and the implementation in another, or <em>(on a type)</em> allows you to split the definition of a type across multiple code files.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload