Collections Collections
Collections Collections
DocFX + Singulink = ♥

Search Results for

    Method AddFirst

    AddFirst(T)

    Adds a value to the start of the list.

    Declaration
    public WeakList<T>.Node AddFirst(T value)
    Parameters
    Type Name Description
    T value
    Returns
    Type Description
    WeakList<T>.Node

    The node that was added.

    Remarks

    This operation takes O(1) time.

    Exceptions
    Type Condition
    ArgumentNullException

    value is null.

    ObjectDisposedException

    The list has been disposed.

    © Singulink. All rights reserved.