Exemplo n.º 1
0
        static void Main(string[] args)
        {
            var dictionary = new Dictionary.Implements.WordsDictionary("wordlist.txt");
            var builder    = new Dictionary.Implements.WordsBuilder(dictionary);


            Func <string, bool> filter = f => f.Length <= 6;

            foreach (var item in builder.GetCombinedWords(filter))
            {
                Console.WriteLine(item);
            }
            Console.ReadLine();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {

            var dictionary = new Dictionary.Implements.WordsDictionary("wordlist.txt");
            var builder = new Dictionary.Implements.WordsBuilder(dictionary);


            Func<string, bool> filter = f => f.Length <= 6;
            foreach (var item in builder.GetCombinedWords(filter))
            {
                Console.WriteLine(item);

            }
            Console.ReadLine();
        }