ArraySegment<T>.Empty Property

Definition

Represents the empty array segment. This field is read-only.

C#
public static ArraySegment<T> Empty { get; }

Property Value

An array segment of type T containing zero elements.

Applies to

Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Standard 2.1