public void CopyTo(T[] array, int index) { if (LeftHand != null) { LeftHand.CopyTo(array, index); index += LeftHand.Count; } array[index++] = Value; if (RightHand != null) { RightHand.CopyTo(array, index); } }