IEnumerableExtensionsStringJoin Method (IEnumerable, String) |
Creates a delimited string from a sequence of elements.
Namespace: Bio.UtilAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public static string StringJoin(
this IEnumerable sequence,
string separator
)
<ExtensionAttribute>
Public Shared Function StringJoin (
sequence As IEnumerable,
separator As String
) As String
public:
[ExtensionAttribute]
static String^ StringJoin(
IEnumerable^ sequence,
String^ separator
)
[<ExtensionAttribute>]
static member StringJoin :
sequence : IEnumerable *
separator : string -> string
Parameters
- sequence
- Type: System.CollectionsIEnumerable
the sequence - separator
- Type: SystemString
the delimiter
Return Value
Type:
Stringa string
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerable. 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