Click or drag to resize

ListExtensionsToDelimitedStringT Method (IEnumerableT, String)

Creates a string with the items of a list separated by the specified delimiter.

Namespace:  Ookii.Jumbo
Assembly:  Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax
public static string ToDelimitedString<T>(
	this IEnumerable<T> list,
	string delimiter
)

Parameters

list
Type: System.Collections.GenericIEnumerableT
A list.
delimiter
Type: SystemString
The delimiter to use.

Type Parameters

T
The type of the elements.

Return Value

Type: String
A string containing the delimited list.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableT. 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).
See Also