Enums Enums
Enums Enums
DocFX + Singulink = ♥

Search Results for

    Method HasSingleBitSet

    HasSingleBitSet<T>(T)

    Determines whether the value has a single bit set (i.e., only one flag is set).

    Declaration
    public static bool HasSingleBitSet<T>(this T value) where T : unmanaged, Enum
    Parameters
    Type Name Description
    T value

    The enumeration value.

    Returns
    Type Description
    bool

    true if the value only has a single bit set, otherwise false.

    Type Parameters
    Name Description
    T
    © Singulink. All rights reserved.