Method Stringify
Stringify<T>(ICollection<T>)
Creates a comma separated string of all elements in the collection. Each collection element is implicitly converted to a string and added to the list.
Declaration
public static string Stringify<T>(this ICollection<T> collection)
Parameters
Type | Name | Description |
---|---|---|
ICollection<T> | collection | The collection to create a string from. |
Returns
Type | Description |
---|---|
string | A string with all elements in the collection converted to strings and separated by commas. |
Type Parameters
Name | Description |
---|---|
T | The type of objects in the collection. |