M_CSharpx_EnumerableExtensions_ToDelimitedString__1_1 - adutton/commandline GitHub Wiki
Creates a delimited string from a sequence of values and a given delimiter.
Namespace: CSharpx
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
public static string ToDelimitedString<TSource>(
this IEnumerable<TSource> source,
string delimiter
)VB
<ExtensionAttribute>
Public Shared Function ToDelimitedString(Of TSource) (
source As IEnumerable(Of TSource),
delimiter As String
) As StringC++
public:
[ExtensionAttribute]
generic<typename TSource>
static String^ ToDelimitedString(
IEnumerable<TSource>^ source,
String^ delimiter
)F#
[<ExtensionAttribute>]
static member ToDelimitedString :
source : IEnumerable<'TSource> *
delimiter : string -> string
- source
- Type: System.Collections.Generic.IEnumerable(TSource)
- delimiter
- Type: System.String
- TSource
Type: String
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).
EnumerableExtensions Class
ToDelimitedString Overload
CSharpx Namespace