CollectionExtensions.Join Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Overloads

Join(IEnumerable, String, Converter) Concatenates a specified separator string between each element of a collection, yielding a single concatenated string.
Join(IEnumerable, String, String, Converter) Concatenates a specified separator string between each element of a collection, yielding a single concatenated string.

Join(IEnumerable, String, Converter)

Concatenates a specified separator string between each element of a collection, yielding a single concatenated string.

public static string Join(this IEnumerable enumerable, string separator, Converter converter)

Parameters

enumerable
System.Collections.Generic.IEnumerable{{T}}
separator
System.String
converter
System.Converter{{T},System.String}

Returns

System.String

A string consisting of the elements of enumerable interspersed with the separator string.

Join(IEnumerable, String, String, Converter)

Concatenates a specified separator string between each element of a collection, yielding a single concatenated string.

public static string Join(this IEnumerable enumerable, string separator, string lastseparator, Converter converter)

Parameters

enumerable
System.Collections.Generic.IEnumerable{{T}}
separator
System.String
lastseparator
System.String
converter
System.Converter{{T},System.String}

Returns

System.String

A string consisting of the elements of enumerable interspersed with the separator string.