Method ToElementsString
ToElementsString(Array)
Converts the elements of the specified array to a string, separated by commas.
Declaration
public static string ToElementsString(this Array source)
Parameters
| Type | Name | Description |
|---|---|---|
| Array | source | The array whose elements to concatenate into a string. |
Returns
| Type | Description |
|---|---|
| string | A string that contains the elements of the array, separated by commas. |
Remarks
This extension method is intended for use with arrays of value types or reference types that have a meaningful string representation.