Skip to content

Children<TNode>.UnsafeGet Method ​

Definition ​

Gets the child at the specified index in the collection without array bounds checks. For high performance scenarios. WARNING: Do not use unless you are certain of the number of children!

c#
public TNode UnsafeGet(int index);

View source

Parameters ​

NameTypeDescription
indexInt32The index of the child to get.

Returns ​

TNode

The node at index.