C# 클래스 Dlp.Framework.CollectionExtensions

Collections extension methods.
파일 보기 프로젝트 열기: stone-payments/Dlp.Framework

공개 메소드들

메소드 설명
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