Some of the dialogue from this question turned out to be ugly, and I was asked to ask a new question, but since there is an answer, I canβt remove it, despite the similarities (rather lame, Stackoverflow).
Please check out this question:
Implementing hashable HashSet content in C # (e.g. `frozenset in python`)
You need an ImmutableHashSet<> . Your time is good, it is available through NuGet in the Microsoft.Collections.Immutable package .
ImmutableHashSet<>
For background, see Immutable Collections Preview released on NuGet . A video of Inside Immutable Collections is also available.
Source: https://habr.com/ru/post/1499557/More articles:How to remove / disable transition in durandal - durandalHow to create a Gradle build file to always use the latest available Android build tools - androidWriting a simple group with map-reduce (Couchbase) - nosqlJava locking using "private final lock" and synchronized result are not the same - javaHow to use the 'this' context in middleware - node.jsHow to create command history in a console application? - c ++Implementation of a content-hashable HashSet in C # (e.g. python `frozenset`) - immutabilityChanging a hash without a reboot controller in AngularJS - angularjsApple Receipt Verifier returns JsonException - c #Create a mozilla extension to display the popup and iframe in it. - firefoxAll Articles