ListExtensions ToTokenString TSource  Method (IEnumerable TSource , String)CleanCode C# Libraries v1.2.03 API
Joins a list of strings into a single string with a custom separator.

Namespace: CleanCode.Data
Assembly: CleanCode (in CleanCode.dll) Version: (1.2.03)

public static string ToTokenString<TSource>(
	this IEnumerable<TSource> list,
	string separator


Type: OnlineSystem.Collections.Generic IEnumerable TSource 
The list.
Type: OnlineSystem String
The separator.
Type Parameters

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 OnlineIEnumerable TSource . When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also