ConcurrentHashSet 1.3.0

.NET Standard 1.0 .NET Framework 4.6.1
dotnet add package ConcurrentHashSet --version 1.3.0
NuGet\Install-Package ConcurrentHashSet -Version 1.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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
#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

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);
}
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.0 netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Windows Phone wp8 wp81 wpa81
Windows Store netcore netcore45 netcore451
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETStandard 1.0

  • .NETStandard 2.0

    • No dependencies.

NuGet packages (35)

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

DSharpPlus.Interactivity The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

An addon that adds interactivity capabilities to commands.

Wyam.CodeAnalysis The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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

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 (10)

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#
NethermindEth/nethermind
Our flagship Ethereum client for Linux, Windows, and macOS—full and actively developed.
ConcreteMC/Alex
A Minecraft client written in C# aimed at compatibility with MC:Java & MC:Bedrock
Version Downloads Last updated
1.3.0 244,219 8/19/2021
1.2.0 22,008 6/22/2021
1.1.0 1,827,166 7/12/2019
1.0.2 410,786 7/17/2017
1.0.1 9,861 4/17/2017
1.0.0 1,495 4/1/2017
1.0.0-beta1 809 3/25/2017
0.3.1 39,423 9/4/2016
0.3.0 991 7/9/2016
0.3.0-beta2 767 7/2/2016
0.3.0-beta1 1,227 7/2/2016
0.2.0 1,444 6/11/2016
0.1.2 1,405 6/11/2016
0.1.1 1,378 6/11/2016
0.1.0 2,493 6/11/2016

Adds: Custom struct enumerator.