J
JJ
Hi all!
I want to add array elements afther creation of it, something like this:
int[] i = {1, 2, 3} // i.Length is now 3
i[3] = 4; // out of range exception!
How can I solve this problem?
Regards,
Vincent
I want to add array elements afther creation of it, something like this:
int[] i = {1, 2, 3} // i.Length is now 3
i[3] = 4; // out of range exception!
How can I solve this problem?
Regards,
Vincent