CodeFactory Platform CodeFactory Platform
CodeFactory Platform CodeFactory Platform
CodeFactory

Search Results for

    Class Keywords

    Data class that contains the C# formatted syntax for keywords.

    Inheritance
    object
    Keywords
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: CodeFactory.DotNet.CSharp.FormattedSyntax
    Assembly: CodeFactory.DotNet.dll
    Syntax
    public static class Keywords

    Fields

    | Improve this Doc View Source

    Abstract

    Keyword for an abstraction

    Declaration
    public const string Abstract = "abstract"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    As

    Keyword for type conversion using an 'as' statement

    Declaration
    public const string As = "as"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Base

    Keyword for usage of the base keyword used with constructors

    Declaration
    public const string Base = "base"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Break

    Keyword for exiting a running loop.

    Declaration
    public const string Break = "break"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Case

    Keyword for a particular item to be evaluated in a switch statement.

    Declaration
    public const string Case = "case"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Catch

    Keyword that captures an exception used with a try statement.

    Declaration
    public const string Catch = "catch"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Checked

    Keyword to check math operations are within bounds of the target type.

    Declaration
    public const string Checked = "checked"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Class

    Keyword that defines a class.

    Declaration
    public const string Class = "class"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Constant

    Keyword that denotes the field is a constant value.

    Declaration
    public const string Constant = "const"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Continue

    Keyword that manages control flow in a loop and tell the control to continue operation at the beginning of the loop.

    Declaration
    public const string Continue = "continue"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Default

    Keyword to denote the default label in a switch statement, also used to return the default value of a type.

    Declaration
    public const string Default = "default"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Delegate

    Keyword to know the definition of a delegate method.

    Declaration
    public const string Delegate = "delegate"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Do

    Keyword to define an expression check to be true in order for the loop to continue execution.

    Declaration
    public const string Do = "do"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Else

    Keyword to cause execution of an alternate set of logic when an if statement is not true.

    Declaration
    public const string Else = "else"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Enum

    Keyword to begin the definition of an enumeration type.

    Declaration
    public const string Enum = "enum"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Event

    Keyword to begin the definition of an event.

    Declaration
    public const string Event = "event"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Explicit

    Keyword that denotes a data conversion that can throw an error or lose information.

    Declaration
    public const string Explicit = "explicit"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Extern

    Keyword used to declare a method that is implemented in an externally accessed library. (Used with DLL imports)

    Declaration
    public const string Extern = "extern"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    False

    Keyword that notes a false statement for a Boolean data type.

    Declaration
    public const string False = "false"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Finally

    Keyword to force the execution of statement after try and catch blocks have executed.

    Declaration
    public const string Finally = "finally"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Fixed

    Keyword to keep the garbage collector from moving a variable. Generally used with external api and unmanaged calls.

    Declaration
    public const string Fixed = "fixed"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    For

    Keyword to define a for loop.

    Declaration
    public const string For = "for"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    ForEach

    Keyword to define a for each loop.

    Declaration
    public const string ForEach = "foreach"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Goto

    Keyword that informs where the logic execution will move to.

    Declaration
    public const string Goto = "goto"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    If

    Keyword that starts an evaluation to determine if a statement is true.

    Declaration
    public const string If = "if"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Implicit

    Keyword used to declare a data conversion that is safe and will not throw an error or lose data.

    Declaration
    public const string Implicit = "implicit"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    In

    Keyword used in 4 cases, generic type parameters , a parameter modifer to pass arguments, define the target value in for each statements, usage in from clauses, and in join clauses.

    Declaration
    public const string In = "in"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Interface

    Keyword that starts the definition of a interface type.

    Declaration
    public const string Interface = "interface"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Is

    Keyword that checks if an expression is compatible with a target type.

    Declaration
    public const string Is = "is"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Lock

    Keyword that starts the execution of code that can be accessed by one thread at a time.

    Declaration
    public const string Lock = "lock"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Namespace

    Keyword that defines the namespace the following code definitions belong to.

    Declaration
    public const string Namespace = "namespace"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    New

    Keyword that defines the new instance of a data type.

    Declaration
    public const string New = "new"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Null

    Keyword that defines a reference type does not exist and has no memory reference.

    Declaration
    public const string Null = "null"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Operator

    Keyword that starts a custom definition of operation for the target type.

    Declaration
    public const string Operator = "operator"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Out

    Keyword that signals that a passed parameter will receive an output of data. Also used with generic definitions to note the type parameter is covariant.

    Declaration
    public const string Out = "out"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Override

    Keyword that signals that an extension or modification of methods, properties, indexers, or events.

    Declaration
    public const string Override = "override"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Params

    Keyword that signals that a method parameter will be taking on a variable number of additional arguments of the target type.

    Declaration
    public const string Params = "params"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Readonly

    Keyword that notes a field cannot be changed once the constructor has run.

    Declaration
    public const string Readonly = "readonly"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Ref

    Keyword to note the value was passed by reference.

    Declaration
    public const string Ref = "ref"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Return

    Keyword to return a target set of data from the executing method body.

    Declaration
    public const string Return = "return"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Sealed

    Keyword to lock the definition from being inherited by other classes.

    Declaration
    public const string Sealed = "sealed"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    SizeOf

    Keyword operator that returns the number of bytes occupied by the variable.

    Declaration
    public const string SizeOf = "sizeof"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    StackAlloc

    Keyword allocates memory during execution of a method and removes at the end of the execution of the method. Allocated directly from the stack.

    Declaration
    public const string StackAlloc = "stackalloc"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Static

    Keyword that declares a static member that belongs to the type and not to an instance of the type.

    Declaration
    public const string Static = "static"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Structure

    Keyword that declares the creation of a structure.

    Declaration
    public const string Structure = "struct"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Switch

    Keyword that declares a switch statement.

    Declaration
    public const string Switch = "switch"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    This

    Keyword that references the current instance of the hosting class.

    Declaration
    public const string This = "this"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Throw

    Keyword that raises an instance of a target exception.

    Declaration
    public const string Throw = "throw"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    True

    Keyword that is a true condition in a Boolean data type.

    Declaration
    public const string True = "true"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Try

    Keyword that is the start of a try block.

    Declaration
    public const string Try = "try"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    TypeOf

    Keyword that determines gets the type definition of the object.

    Declaration
    public const string TypeOf = "typeof"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    UnChecked

    Keyword to suppress overflow checking in arithmetic operations and conversions.

    Declaration
    public const string UnChecked = "unchecked"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    UnSafe

    Keyword to note this call access pointers and is unsafe for memory collection.

    Declaration
    public const string UnSafe = "unsafe"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Using

    Keyword directive to note a target namespace that is used in the scope of a code file.

    Declaration
    public const string Using = "using"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    UsingStatic

    Keyword directive to a static type where the static members and nested type can be accessed without specifying the type.

    Declaration
    public const string UsingStatic = "using static"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Virtual

    Keyword to note that a method, property, indexer, or event can be overridden.

    Declaration
    public const string Virtual = "virtual"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Void

    Keyword that notes that the method will not return a value.

    Declaration
    public const string Void = "void"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    Volatile

    Keyword that determines a field can be modified by multiple threads during execution at the same time.

    Declaration
    public const string Volatile = "volatile"
    Field Value
    Type Description
    string
    | Improve this Doc View Source

    While

    Keyword that continues execution of a code block while the evaluation statement is true.

    Declaration
    public const string While = "while"
    Field Value
    Type Description
    string
    © CodeFactory, LLC. All rights reserved.