예제 #1
0
 public static HashSet <T> tryAdd <T>(HashSet <T> set, T value) =>
 set.TryAdd(value);
예제 #2
0
 public static HashSet <EqT, T> tryAdd <EqT, T>(HashSet <EqT, T> set, T value) where EqT : struct, Eq <T> =>
 set.TryAdd(value);