Sage Modeling and Simulation Library

StringOperations..::..ToCommasAndAndedListOfNames<(Of <(<'T>)>)> Method

Given a List of type T, where T implements IHasName, returns a string representation such as "Foo, Bar and Baz".

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

Syntax


public static string ToCommasAndAndedListOfNames<T>(
	List<T> list
)
where T : IHasName

Type Parameters

T

Parameters

list
Type: List<(Of <(<'T>)>)>
The list.

Return Value

the string representation.