//Compare caracters and try to make the most of words public void MakeSentence() { WordDictionnary _words = new WordDictionnary(); List <string> words = _words.get(); List <string> letters = DecryptCaracters(); // HERE IF I'D HAVE MORE TIME //I wwould make an algorithm in order ton concat each solutions of letters, and compare with all the words //And finally to find multiple solutions foreach (var l in letters) { foreach (var w in words) { } } }
static void Main(string[] args) { DecryptMorse decrypt = new DecryptMorse(); WordDictionnary word = new WordDictionnary(); foreach (var d in decrypt.DecryptCaracters()) { Console.WriteLine(d); } word.getWords(); // Console.WriteLine(tool.ReadFile("google1000.txt")); Console.ReadLine(); }