FrozenSet Class

Definition

Provides a set of initialization methods for instances of the FrozenSet<T> class.

public static class FrozenSet
Inheritance
FrozenSet

Methods

Create<T>(IEqualityComparer<T>, ReadOnlySpan<T>)

Creates a FrozenSet<T> with the specified values.

Create<T>(ReadOnlySpan<T>)

Creates a FrozenSet<T> with the specified values.

ToFrozenSet<T>(IEnumerable<T>, IEqualityComparer<T>)

Creates a FrozenSet<T> with the specified values.

Applies to

Product Versions
.NET 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)