Table of Contents

Method ToCommaSeparated

Namespace
YndigoBlue.Velocity.Utils
Assembly
YndigoBlue.Velocity.dll

ToCommaSeparated(List<string>)

Joins a list of strings into a comma-separated string.

public static string ToCommaSeparated(this List<string> list)

Parameters

list List<string>

The list of strings to join.

Returns

string

A string with list elements separated by ", ".

ToCommaSeparated(IEnumerable<string>)

Joins an enumerable of strings into a comma-separated string.

public static string ToCommaSeparated(this IEnumerable<string> list)

Parameters

list IEnumerable<string>

The enumerable of strings to join.

Returns

string

A string with elements separated by ", ".