C# Класс Dlp.Framework.CollectionExtensions

Collections extension methods.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

AsString() публичный статический Метод

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',...
Результат string