Freigeben über


SyntaxList<TNode>.LastOrDefault Method

Definition

The last node in the list or default if the list is empty.

public:
 TNode LastOrDefault();
public TNode LastOrDefault ();
public TNode? LastOrDefault ();
member this.LastOrDefault : unit -> 'Node
Public Function LastOrDefault () As TNode

Returns

TNode

Applies to