Seems like you are trying to make your life extremely difficult.
Don't know what you are trying to do, but why not use the features of C#? Use a generic list of balls.
class Ball{//..code here}
List<Ball> MyBallList = new List<Ball>();
Now with MyBallList you can add, remove, insert and never worry about pointers, or arraylength any more.
See this
ddanbe
Senior Poster
3,829 posts since Oct 2008
Reputation Points: 2,070
Solved Threads: 661
__avd
Posting Genius (adatapost)
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241