SyntaxList<TNode>.LastOrDefault Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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