KGy SOFT

EnumerableExtensionsJoinT Method (IEnumerableT, String)

KGy SOFT Core Libraries Help
Concatenates the items of the source collection into a new string instance using the specified separator between the items.

Namespace:  KGySoft.CoreLibraries
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.4.0
Syntax

public static string Join<T>(
	this IEnumerable<T> source,
	string separator
)

Parameters

source
Type: System.Collections.GenericIEnumerableT
The IEnumerableT to create a string from.
separator
Type: SystemString
The separator to be used between the members. If  or empty, then

Type Parameters

T
The type of the elements of source.

Return Value

Type: String
A string that consists of the elements of the source collection delimited by the specified separator.

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

Reference