ConcurrentHashSet 1.3.0

Install-Package ConcurrentHashSet -Version 1.3.0
dotnet add package ConcurrentHashSet --version 1.3.0
<PackageReference Include="ConcurrentHashSet" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ConcurrentHashSet --version 1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ConcurrentHashSet, 1.3.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install ConcurrentHashSet as a Cake Addin
#addin nuget:?package=ConcurrentHashSet&version=1.3.0

// Install ConcurrentHashSet as a Cake Tool
#tool nuget:?package=ConcurrentHashSet&version=1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

ConcurrentHashSet

NuGet NuGet license

A ConcurrentHashSet implementation based on .NET's ConcurrentDictionary

This implementation supports basic operations per item without HashSet's set operations as they make less sense in concurrent scenarios IMO:

var concurrentHashSet =
    new ConcurrentHashSet<string>(
        new[]
        {
            "hamster",
            "HAMster",
            "bar",
        },
        StringComparer.OrdinalIgnoreCase);

concurrentHashSet.TryRemove("foo");
if (concurrentHashSet.Contains("BAR"))
{
    Console.WriteLine(concurrentHashSet.Count);
}
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETStandard 1.0

  • .NETStandard 2.0

    • No dependencies.

NuGet packages (32)

Showing the top 5 NuGet packages that depend on ConcurrentHashSet:

Package Downloads
WorkflowCore

Workflow Core is a light weight workflow engine targeting .NET Standard.

Shesha.Framework

Package Description

Wyam.CodeAnalysis

Wyam is a simple to use, highly modular, and extremely configurable static content generator. This library provides support for performing code analysis.

DSharpPlus.Interactivity

An addon that adds interactivity capabilities to commands.

Blockcore.Core

The Blockcore node software is a full consensus validating node software that runs a blockchain protocol. It is compatible with Bitcoin and utilized by other blockchains at the primary full node.

GitHub repositories (8)

Showing the top 5 popular GitHub repositories that depend on ConcurrentHashSet:

Repository Stars
danielgerlag/workflow-core
Lightweight workflow engine for .NET Standard
DSharpPlus/DSharpPlus
A .NET Standard library for making bots using the Discord API.
stratisproject/StratisBitcoinFullNode
Bitcoin full node in C#
ConcreteMC/Alex
A Minecraft client written in C# aimed at compatibility with MC:Java & MC:Bedrock
statiqdev/Statiq.Framework
A flexible and extensible static content generation framework for .NET.
Version Downloads Last updated
1.3.0 41,379 8/19/2021
1.2.0 17,474 6/22/2021
1.1.0 844,044 7/12/2019
1.0.2 312,244 7/17/2017
1.0.1 8,315 4/17/2017
1.0.0 1,192 4/1/2017
1.0.0-beta1 694 3/25/2017
0.3.1 33,330 9/4/2016
0.3.0 822 7/9/2016
0.3.0-beta2 674 7/2/2016
0.3.0-beta1 1,059 7/2/2016
0.2.0 1,259 6/11/2016
0.1.2 1,233 6/11/2016
0.1.1 1,201 6/11/2016
0.1.0 2,265 6/11/2016

Adds: Custom struct enumerator.