ConcurrentHashSet 1.3.0
dotnet add package ConcurrentHashSet --version 1.3.0
NuGet\Install-Package ConcurrentHashSet -Version 1.3.0
<PackageReference Include="ConcurrentHashSet" Version="1.3.0" />
paket add ConcurrentHashSet --version 1.3.0
#r "nuget: ConcurrentHashSet, 1.3.0"
// 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
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 net481 |
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 |
-
.NETFramework 4.6.1
- No dependencies.
-
.NETStandard 1.0
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 2.0
- No dependencies.
NuGet packages (37)
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
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. |
|
Stratis.Core
Stratis 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.
|
|
NethermindEth/nethermind
Our flagship Ethereum execution client for Linux, Windows, and macOS — full and actively developed.
|
|
stratisproject/StratisBitcoinFullNode
Bitcoin full node in C#
|
|
ConcreteMC/Alex
A Minecraft client written in C# aimed at compatibility with MC:Java & MC:Bedrock
|
Version | Downloads | Last updated |
---|---|---|
1.3.0 | 401,685 | 8/19/2021 |
1.2.0 | 23,500 | 6/22/2021 |
1.1.0 | 2,462,867 | 7/12/2019 |
1.0.2 | 452,686 | 7/17/2017 |
1.0.1 | 10,381 | 4/17/2017 |
1.0.0 | 1,571 | 4/1/2017 |
1.0.0-beta1 | 842 | 3/25/2017 |
0.3.1 | 41,322 | 9/4/2016 |
0.3.0 | 1,029 | 7/9/2016 |
0.3.0-beta2 | 795 | 7/2/2016 |
0.3.0-beta1 | 1,292 | 7/2/2016 |
0.2.0 | 1,481 | 6/11/2016 |
0.1.2 | 1,442 | 6/11/2016 |
0.1.1 | 1,417 | 6/11/2016 |
0.1.0 | 2,560 | 6/11/2016 |
Adds: Custom struct enumerator.