Method LogJoin
- Namespace
- WhalesSecret.TradeScriptLib.Logging
- Assembly
- WhalesSecret.TradeScriptLib.dll
LogJoin(IEnumerable, char)
Extension of enumerable to format a comma separated string.
public static string LogJoin(this IEnumerable objects, char separator = ',')
Parameters
objects
IEnumerableObjects to format.
separator
charSeparator to put between the items of the enumerable on the output.
Returns
- string
Formatted
separator
-separated string.
LogJoin(Span<string>, char)
Extension of span of strings to format a comma separated string.
public static string LogJoin(this Span<string> array, char separator = ',')
Parameters
array
Span<string>Span of strings to format.
separator
charSeparator to put between the strings on the output.
Returns
- string
Formatted
separator
-separated string.