I would like to declare (and randomize) about 500 strings.
I believe I have two options here:
1: Create an array with a size of 500.
string[] x = new string[500];
for(int i = 0; i < 500; i++)
{
x[i] = Randomize_thisString(); // Some routine
}
2: Declare (and randomize) 500 different strings.
string string_one = Randomize_thisString();
string string_two = Randomize_thisString();
string string_n = Randomize_thisString();
...
Which one of these would be the faster method, and does anyone know of a third option here?
Thank you,
Evan