StringSequence

References
public class StringSequence
A sequence of strings which can be padded to provide aligment amongst multiple instances (assuming a monospaced font).

Constructors

StringSequence

#
public StringSequence(params string[] elements)
elements (params string[])

Properties

Count

#
public int Count { get; }
Gets the number of elements.

Indexers

this[]

#
public string this[int index] { get; }
index (int)

Methods

Align

#
public static void Align(char radix, char padding, params StringSequence[] sequences)
Align all the elements across multiple sequences.
radix (char)Char to align on.
padding (char)Char used for padding.
sequences (params StringSequence[])Sequences to align. All sequences must have the same number of elements.

ToString

#
public override string ToString()
Object.ToString

ToString

#
public string ToString(string separator)
separator (string)