Displays all elements of this sequence in a string using start, end, and separator strings.
Namespace: FlinqAssembly: Flinq (in Flinq.dll) Version: 1.0.2.0 (1.0.2.0)
Syntax
C# |
---|
public static string MkString<A>( this IEnumerable<A> source, string start, string sep, string end ) |
Parameters
- source
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'A>)>)>
The sequence of elements to display.
- start
- Type: System..::..String
The starting string.
- sep
- Type: System..::..String
The separator string.
- end
- Type: System..::..String
The ending string.
Type Parameters
- A
- The type of the elements of source.
Return Value
Type: StringA string representation of this sequence. The resulting string begins with the string start and ends with the string end. Inside, the string representations (w.r.t. the method ToString) of all elements of this sequence are separated by the string sep.