src/anagramsolver/containers/AnagramContainer.cs
/// <summary>
/// Find all letters that are not in the anagram
/// </summary>
/// <returns>Set of letters not in the anagram</returns>
Find all letters that are not in the anagram
Find all letters that are not in the anagram
public StringBox CreateSetOfLettersNotInAnagram()
        {
            string allLettersA2Z = "abcdefghijklmnopqrstuvxyz";
            string someMoreLettersSeenInWordList = "éÅöü'";
            string allLettersExpectedInWordList = allLettersA2Z + someMoreLettersSeenInWordList;
            var lettersNotInAnagram1 = allLettersExpectedInWordList.Except(_anagram.DistinctDataWithoutSpace);
            string lettersNotInAnagram = String.Concat(lettersNotInAnagram1);
            _lettersNotInAnagram = new StringBox(lettersNotInAnagram);
            return _lettersNotInAnagram;
        }
public StringBox CreateSetOfLettersNotInAnagram ( ) { string allLettersA2Z = " " ; string someMoreLettersSeenInWordList = " string allLettersExpectedInWordList = allLettersA2Z + someMoreLettersSeenInWordList ; var lettersNotInAnagram1 = allLettersExpectedInWordList . Except ( _anagram . DistinctDataWithoutSpace ) ; string lettersNotInAnagram = String . Concat ( lettersNotInAnagram1 ) ; _lettersNotInAnagram = new StringBox ( lettersNotInAnagram ) ; return _lettersNotInAnagram ; }
Find all letters that are not in the anagram
Find all letters that are not in the anagram
Set of letters not in the anagram
Set of letters not in the anagram