ArrayExtensions.Join<T>

Extension Method in ArrayExtensions

Declaration

public static string Join<T>(this T[] array, string delimiter, int startIndex = 0, int endIndex = 2147483647)

Description

Joins the elements of the array into a string with a delimiter.

Type Parameters

TThe type of the array.

Parameters

arrayThe array to join.
delimiterThe delimiter to use.
startIndexThe index to start at.
endIndexThe index to end at.

Returns

stringThe joined string.