Method | Description | |
---|---|---|
AsString ( this source, char separator = ',', string surroundWith = null ) : string |
Converts a collection into a string, where each element is separated with a comma, by default.
|
public static AsString ( this source, char separator = ',', string surroundWith = null ) : string | ||
source | this | Collection to be converted. |
separator | char | Char separator. The defalt separator is comma. |
surroundWith | string | Specify the surrounding chars for the elements. For example.: single quotation mark "'": 'element1','element2',... |
return | string |