Method ToString | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

ToString(IEnumerable)

Converts a Rune generic collection into a string.

public static string ToString(IEnumerable<Rune> runes)

Parameters

runes IEnumerable<Rune>

The enumerable rune to convert.

Returns

string

ToString(IEnumerable, Encoding?)

Converts a byte generic collection into a string in the provided encoding (default is UTF8)

public static string ToString(IEnumerable<byte> bytes, Encoding? encoding = null)

Parameters

bytes IEnumerable<byte>

The enumerable byte to convert.

encoding Encoding

The encoding to be used.

Returns

string