Skip to content

M_CSharpx_EnumerableExtensions_ToDelimitedString__1

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

EnumerableExtensions.ToDelimitedString(TSource) Method (IEnumerable(TSource))

Creates a delimited string from a sequence of values. The delimiter used depends on the current culture of the executing thread.

Namespace: CSharpx
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public static string ToDelimitedString<TSource>(
	this IEnumerable<TSource> source
)

VB

<ExtensionAttribute>
Public Shared Function ToDelimitedString(Of TSource) ( 
	source As IEnumerable(Of TSource)
) As String

C++

public:
[ExtensionAttribute]
generic<typename TSource>
static String^ ToDelimitedString(
	IEnumerable<TSource>^ source
)

F#

[<ExtensionAttribute>]
static member ToDelimitedString : 
        source : IEnumerable<'TSource> -> string 

Parameters

 

source
Type: System.Collections.Generic.IEnumerable(TSource)

Type Parameters

 

TSource

Return Value

Type: String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable(TSource). When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also

Reference

EnumerableExtensions Class
ToDelimitedString Overload
CSharpx Namespace

Clone this wiki locally