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

Showing the top 5 NuGet packages that depend on ConcurrentHashSet:

Package Downloads
WorkflowCore

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

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.

Wyam.Core

Wyam is a simple to use, highly modular, and extremely configurable static content generator. This is the core engine and can be used to embed Wyam into your application. If you just want to create sites, download the Wyam executable from GitHub the Wyam website.

Statiq.Common

Statiq is a configurable static content generation framework. This library provides a common set of abstractions and other classes to make writing extensions easier.

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#
kennyvv/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 10,676 8/19/2021
1.2.0 14,345 6/22/2021
1.1.0 551,768 7/12/2019
1.0.2 244,226 7/17/2017
1.0.1 6,874 4/17/2017
1.0.0 917 4/1/2017
1.0.0-beta1 651 3/25/2017
0.3.1 22,506 9/4/2016
0.3.0 721 7/9/2016
0.3.0-beta2 626 7/2/2016
0.3.0-beta1 928 7/2/2016
0.2.0 944 6/11/2016
0.1.2 923 6/11/2016
0.1.1 903 6/11/2016
0.1.0 1,528 6/11/2016

Adds: Custom struct enumerator.