ReadOnlyCollection.CreateSet<T>(ReadOnlySpan<T>) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

C#
public static System.Collections.ObjectModel.ReadOnlySet<T> CreateSet<T>(scoped ReadOnlySpan<T> values);

Type Parameters

T

Parameters

Returns

Applies to

Product Versions
.NET 10