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
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
listIEnumerable<string>The enumerable of strings to join.
Returns
- string
A string with elements separated by ", ".