แก้ไข

แชร์ผ่าน


Memory<T>.IsEmpty Property

Definition

Indicates whether the current instance is empty.

public:
 property bool IsEmpty { bool get(); };
public bool IsEmpty { get; }
member this.IsEmpty : bool
Public ReadOnly Property IsEmpty As Boolean

Property Value

true if the current instance is empty; otherwise, false.

Remarks

A Memory<T> object is empty if its length is 0.

Applies to