public static void PrintLanguageTillLength(Automata <string> m, int length) { SortedSet <string> language = m.ReturnLanguageTillLength(length); foreach (string s in language) { Console.Write(s + " "); } Console.WriteLine(); }