Joins a list of strings into a single string with a custom separator.
Namespace: CleanCode.DataAssembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax
public static string ToTokenString<TSource>( this IEnumerable<TSource> list, string separator )
Parameters
- list
- Type:
System.Collections.Generic IEnumerable TSource
The list.
- separator
- Type:
System String
The separator.
Type Parameters
- TSource
- The generic type.
Return Value
String containing custom separated list items.Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type


See Also