Skip to content

Children<TNode>.FirstOrNull Property

Definition

Gets the first child in the collection or null if the collection is empty.

public TNode FirstOrNull { get; }

View source

Property Value

TNode

The first node or null.