I have to create a password and I believe that I can do it, however I am stumped at the very beginning. I have 3 strings of characters, I would like to randomly select one of th
The below code will help you generate a random number and then pick up the string at that position in the array
string[] arr= {"qwertyuiopasdfghjklzxcvbnm","MNBVCXZLKJHGFDSAPOIUYTREWQ","1234567890"};
Random rnd = new Random();
int cnt = rnd.Next(2);
string r = arr[cnt];