FrozenSet public static class FrozenSet Provides a set of initialization methods for instances of the FrozenSet<T> class. Documentation Code public static FrozenSet<T> Create<T>(ReadOnlySpan<T> source) Creates a FrozenSet<T> with the specified values. public static FrozenSet<T> Create<T>(IEqualityComparer<T> equalityComparer, ReadOnlySpan<T> source) Creates a FrozenSet<T> with the specified values. public static FrozenSet<T> ToFrozenSet<T>(this IEnumerable<T> source, IEqualityComparer<T> comparer = null) Creates a FrozenSet<T> with the specified values.