check if element in hashset csharp

Code Example - check if element in hashset csharp

                
                        mySet.Contains(T item);