Joins a list of strings into a single, comma-separated string, normalizing whitespace in the process.
Namespace: CleanCode.DataAssembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax
public static string ToTrimmedTokenString<TSource>( this IEnumerable<TSource> list )
Parameters
- list
- Type: System.Collections.Generic IEnumerable TSource
The list to trim.
Type Parameters
- TSource
- The generic type.
Return Value
String containing comma-separated list items.Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable TSource . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Remarks
See Also