EnumerableExtensions.ToCommaSeparatedString<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts the elements of a collection to strings and concatenates them into a comma-separated list, or returns null for null or empty collections.
public static string ToCommaSeparatedString<T> (this System.Collections.Generic.IEnumerable<T> enumerable);
static member ToCommaSeparatedString : seq<'T> -> string
<Extension()>
Public Function ToCommaSeparatedString(Of T) (enumerable As IEnumerable(Of T)) As String
Type Parameters
- T
The type of elements that will be converted to strings.
Parameters
- enumerable
- IEnumerable<T>
The collection to turn into a comma-separated string.
Returns
A comma-separated string, or null if enumerable is null or empty.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET