We're reclaiming inactive PDIs to keep them available foractive builders.Learn what's changing, who's affected, and how to protect your work. Read More
It sure looks as though the issue is caused when you instantiate a new Person class, that you are setting the count to 0. So in the first iteration of the while loop, count goes from 10 to 0 (and then -1).-James