Sequence T  Permutations Method A Sandcastle Documented Class Library
Iterates over distinct permutations of this sequence. If this sequence represents an infinite set or series, calling GetEnumerator  on the result value will not return!

Namespace: Sequences
Assembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax
public IEnumerable<ISequence<T>> Permutations()

Return Value

Type: IEnumerable ISequence T  
An iterator which traverses the distinct permutations of this sequence.

Implements

ISequence T  Permutations 
Examples
"abb".AsSequence().Permutations() = abb, bab, bba
See Also