SequenceReferences [DebuggerDisplay("{Description} = {Sum}")] public class Sequence Show allRepresents a summation sequence consisting of positive integers. AllPropertiesMethods ObsoleteInherited PropertiesDescription#public string Description { get; }Gets the summation series for this sequence.Sum#public int Sum { get; }Gets the sum of this sequence.MethodsCascade#public Sequence Cascade()Cascase the leftmost element in the sequence that is larger than it's right neighbour. TODO: what? the above makes no sense...Returns: Cascaded sequence.GenerateAllSequences#public static Sequence[] GenerateAllSequences(int count, int target)Generate all possible sequences that add up to a target value.Parameters:count (int)Number of elements in the sequence.target (int)Target sum.Returns: An array of sequence elements that sum up to target.ToArray#public int[] ToArray()Convert this sequence into an array.Returns: Integer array.