Table of Contents

Method FindAnagrams

Namespace
Gamelogic.Words
Assembly
Gamelogic.Words.dll

FindAnagrams(Word)

Find anagrams of a given source string

IEnumerable<Word> FindAnagrams(Word source)

Parameters

source Word

The source string. May include spaces, but not other non-alphabet characters

Returns

IEnumerable<Word>

A list of anagrams of source

FindAnagrams(Word, bool)

Find phrase anagrams of a given source string. Phrase anagrams may return multple words that, together, consist of all the letters in the source string

IEnumerable<Word> FindAnagrams(Word source, bool phrases)

Parameters

source Word

The source string. May include spaces, but not other non-alphabet characters

phrases bool

Whether to return phrases as well as single words

Returns

IEnumerable<Word>

A list of anagrams of source