Sequence

References
public sealed class Sequence
An expression specifically designed to

Properties

Expression

#
public Expression Expression { get; }
Gets the expression associated with this sequence.

IsSelfReferential

#
public bool IsSelfReferential { get; }
Gets whether this sequence has a self-referential lookup.

Methods

Construct

#
public Array Construct(Array initial, int count)
Construct a sequence.
initial (Array)Initial elements in sequence. May be null or empty.
count (int)Length of sequence.
an array of BigInteger or double elements. Even if all sequence elements could have been int elements, the sequehce is still an array of BigInteger.

TryCreate

#
public static Sequence TryCreate(string notation, out string failure)
Create a new sequence expression.
notation (string)Sequence notation.
failure (out string)Failure reason if notation is invalid.
Resulting sequence.