I have an application that will automatically generate a password between the lengths of 22 and 24. I need to generate two passwords. I started off by just generating them and then writing them to the console. However, I would like to save them to an array. However, the current code I have is not working. I get the following error at run time:
Array creation must have array size or array initializer.
public class Entry
static void Main(string args)
string SqlPasswords = new string;
for (int i = 0; i < 2; i++)