public static void Main()
Console.WriteLine(CodeToStr(12344));
private static readonly char[] aM = { 'A', 'N', 'E', 'W', 'U', 'I', 'R', 'H', 'O', 'K' };
private static readonly char[] aC = { 'A', 'B', 'C', 'D', 'E', 'F', 'J', 'X', 'I', 'Y', 'A', 'N', 'Z', 'W', 'U', 'I', 'R', 'H', 'O', 'K', 'X' };
private static readonly int[] aT = { 0, 3, 1, 0, 0, 2, 1, 1, 2, 0 };
public static string CodeToStr(long codeNum)
string codeNumStr = codeNum.ToString();
Random rnd = new Random();
for (i = 0; i < codeNumStr.Length; i++)
k = int.Parse(codeNumStr[i].ToString());
for (j = 0; j < aT[k]; j++)
result = result + aC[rnd.Next(20)];