Table of Contents

Method ToString

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

ToString<T>(IEnumerable<T>, string?, string?, string?)

Combines array elements to comma separated string inside round brackets.

public static string ToString<T>(IEnumerable<T> items, string? prefix = null, string? suffix = null, string? separator = null)

Parameters

items IEnumerable<T>

Array of items.

prefix string

Prefix string to add before items text.

suffix string

Suffix string to add after items text.

separator string

Separator string to add between each item text.

Returns

string

Type Parameters

T

Type of the array item.

ToString<T>(string[], T[])

Combines name and value pairs to string.

public static string ToString<T>(string[] names, T[] values)

Parameters

names string[]

Names.

values T[]

Values.

Returns

string

Type Parameters

T