Sage Modeling and Simulation Library

StringOperations..::..ToCommasAndAndedList Method (IEnumerable<(Of <(<'String>)>)>)

Given IEnumerable of strings such as {"Foo", "Bar", "Baz"} returns a string representation, "Foo, Bar and Baz".

Namespace:  Highpoint.Sage.Utility
Assembly:  Sage4 (in Sage4.dll)

Syntax


public static string ToCommasAndAndedList(
	IEnumerable<string> enumerable
)

Parameters

enumerable
Type: IEnumerable<(Of <(<'String>)>)>
The enumerable.

Return Value

the string representation.