Delen via


SyntaxList<TNode>.FirstOrDefault Method

Definition

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

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

Returns

TNode

Applies to