I currently have this, however if I add the for loop it doesn’t work . Could anyone point me out any tips?

tried doing this before looping?

ChildNames = new string[ChildNumber];
ChildrenPoints = new int[ChildNumber];