ListExtensions.Join<T>

Extension Method in ListExtensions

Declaration

public static string Join<T>(this List<T> list, string delimiter, int startIndex = 0, int endIndex = 2147483647)

Description

Joins the items of the list into a string with a delimiter.

Type Parameters

TThe type of the array.

Parameters

list
delimiterThe delimiter to use.
startIndexThe index to start at.
endIndexThe index to end at.

Returns

stringThe joined string.