Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Text.RegularExpressions;
- namespace testProgram
- {
- public class Program
- {
- public static void Main()
- {
- string[] firstNames = new string[] {"Jason", "Joe", "Martin", "Andy", "Brandon", "Carl", "Roger", "Keith", "Hector", "Victor", "Robert", "Reggie", "Jack", "Walter", "Monty", "Sean", "Steven", "Seth", "Roy", "Dennis", "Derick"};
- string[] lastNames = new string[] {"Robertson", "Green", "Thompson", "Callaway", "Newton", "Jones", "Garret", "Alonzo", "Austin", "Love", "Miller", "Pluto", "Evans", "Brown", "Cooper", "Underwood", "Ortiz", "Anderson"};
- Random random = new Random();
- for(int i = 0; i < 15; i++)
- {
- int f = random.Next(0,firstNames.Length);
- int l = random.Next(0,lastNames.Length);
- Console.WriteLine("{0} {1}", firstNames[f], lastNames[l]);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement