Property Count
Count
Gets the number of nodes in the list.
Declaration
public nint Count { get; }
Property Value
| Type | Description |
|---|---|
| nint |
Remarks
The count includes nodes whose values have been garbage collected but have not yet been removed from the list, so it may briefly exceed the number of values that enumeration returns.
Exceptions
| Type | Condition |
|---|---|
| ObjectDisposedException | The list has been disposed. |