MoreEnumerableToDelimitedString Method (IEnumerableDecimal) |
Note: This API is now obsolete.
Creates a delimited string from a sequence of values. The
delimiter used depends on the current culture of the executing thread.
Namespace:
MoreLinq
Assembly:
MoreLinq (in MoreLinq.dll) Version: 2.4.0
Syntax [ObsoleteAttribute]
public static string ToDelimitedString(
this IEnumerable<decimal> source
)
<ExtensionAttribute>
<ObsoleteAttribute>
Public Shared Function ToDelimitedString (
source As IEnumerable(Of Decimal)
) As String
public:
[ExtensionAttribute]
[ObsoleteAttribute]
static String^ ToDelimitedString(
IEnumerable<Decimal>^ source
)
[<ExtensionAttribute>]
[<ObsoleteAttribute>]
static member ToDelimitedString :
source : IEnumerable<decimal> -> string
Parameters
- source
- Type: System.Collections.GenericIEnumerableDecimal
The sequence of items to delimit. Each is converted to a string using the
simple ToString() conversion.
Return Value
Type:
String
A string that consists of the elements in
source
delimited by
ListSeparator. If the source
sequence is empty, the method returns an empty string.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableDecimal. 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).
Remarks
This operator uses immediate execution and effectively buffers the sequence.
See Also