Skip to content

[Feature request] Add TryRemove(K, out V) overload #361

@bill-poole

Description

@bill-poole

The TryRemove(K) method implementation retrieves the value associated with the given key, but does not return that value. This means that if we need the value associated with the given key, we need to first invoke TryGet(K, out V) to get the value and then invoke TryRemove(K), which is wasteful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions