View Single Post
Old 06-21-2004, 06:43 AM   #5 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,489
sde is on a distinguished road
check out the ArrayList class.

Code:
using System.Collections;
...

ArrayList al = new ArrayList;

for(int i=0;i<20;i++){
  string s = "whatever";
  al.Add(s);
}
i'm not sure exactly what you're trying to do, but ArrayList is a way to make re-sizable arrays.
__________________
Mike
sde is offline   Reply With Quote