I\'ve read this question about why it is not possible, but haven\'t found a solution to the problem.
I would like to retrieve an item from a .NET HashSet. I
Now .NET Core 2.0 has this exact method.
HashSet.TryGetValue(T, T) Method