first you trying to use numChildren as a method but it is not it is a property which return int value and it is read-only so remove the () in the loop
second what is errorString ???
first you trying to use numChildren as a method but it is not it is a property which return int value and it is read-only so remove the () in the loop
second what is errorString ???