J
Jose Fernandez
Hello friends.
I have a new problem.
I have Ball class which one of its member is an array. The problem is that I
don't know how many elements it's gonna have at the end of the application.
..NET doesn't allow me to create it without elements.
for example
public class Ball
{
int[] BallHistory=new int[xxx]
(.....)
}
xxx means the lenght of the element. But I don't know how many elements will
have by the end of the application.
Is there any way to make it dynamic??
Thanks in advance
Jose
I have a new problem.
I have Ball class which one of its member is an array. The problem is that I
don't know how many elements it's gonna have at the end of the application.
..NET doesn't allow me to create it without elements.
for example
public class Ball
{
int[] BallHistory=new int[xxx]
(.....)
}
xxx means the lenght of the element. But I don't know how many elements will
have by the end of the application.
Is there any way to make it dynamic??
Thanks in advance
Jose