using System; namespace NameGen { class Program { static void Main(string[] args) { char[] gl = new char[] { 'e', 'u', 'i', 'o', 'a' }; char[] sogl = new char[] { 'q', 'w', 'r', 't', 'y', 'p', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'z', 'x', 'c', 'v', 'b', 'n', 'm' }; Random rand = new Random(); int len = rand.Next(4, 8); bool ch = rand.Next(2) == 1; string s = ""; for(int i = 0; i < len; i++) { if (ch) s += gl[rand.Next(0, 4)]; else s += sogl[rand.Next(0, 20)]; ch = !ch; } Console.WriteLine(s); Console.ReadLine(); } } }