CollectionExtensionsToDelimitedStringTSource(IEnumerableTSource) Method

Converts an enumeration to a string, using the default delimiter ("|") that can later be converted back to a list using LoadDelimitedString.

Definition

Namespace: Gemstone.Collections.CollectionExtensions
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.110 -- Release Build+3e0464f4461df4d3e1175b13966eb47ff832554d
public static string ToDelimitedString<TSource>(
	this IEnumerable<TSource> source
)

Parameters

source  IEnumerableTSource
The source object to be converted into a delimited string.

Type Parameters

TSource
Type of IEnumerableT.

Return Value

String
Returns a String that is result of combining all elements in the list delimited by the '|' character.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableTSource. 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