Creates a delimited string from a sequence of values. The
delimiter used depends on the current culture of the executing thread.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static string ToDelimitedString( this IEnumerable<string> source )
<ExtensionAttribute> _ Public Shared Function ToDelimitedString ( _ source As IEnumerable(Of String) _ ) As String
public: [ExtensionAttribute] static String^ ToDelimitedString( IEnumerable<String^>^ source )
Parameters
- source (IEnumerable<(Of <(<'String>)>)>)
- The sequence of items to delimit. Each is converted to a string using the simple ToString() conversion.
Return Value
[Missing <returns> documentation for "M:MoreLinq.MoreEnumerable.ToDelimitedString(System.Collections.Generic.IEnumerable{System.String})"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<(Of <(<'String>)>)>. When you use instance method syntax to call this method, omit the first parameter.
Remarks
This operator uses immediate execution and effectively buffers the sequence.
Assembly: MoreLinq (Module: MoreLinq.dll) Version: 1.0.16006.0 (1.0.16006.1845)