[This is preliminary documentation and is subject to change.]

Joins all items in a collection into one string separated with the given separator. If the items are not strings, .ToString() is called on them.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.2.4 (0.6.2.4)

Syntax

   
 C# 
public static string JoinToString<T>(
	this IEnumerable<T> items,
	string separator
)

Parameters

items
IEnumerable<(Of <(<'T>)>)>

[Missing <param name="items"/> documentation for "M:fCraft.EnumerableUtil.JoinToString``1(System.Collections.Generic.IEnumerable{``0},System.String)"]

separator
String

[Missing <param name="separator"/> documentation for "M:fCraft.EnumerableUtil.JoinToString``1(System.Collections.Generic.IEnumerable{``0},System.String)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:fCraft.EnumerableUtil.JoinToString``1(System.Collections.Generic.IEnumerable{``0},System.String)"]

Return Value

[Missing <returns> documentation for "M:fCraft.EnumerableUtil.JoinToString``1(System.Collections.Generic.IEnumerable{``0},System.String)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<(Of <(<'T>)>)>. When you use instance method syntax to call this method, omit the first parameter.

See Also