Algorithms..::..ToString<(Of <(<'T>)>)> Method (IEnumerable<(Of <(<'T>)>)>)
Gets a string representation of the elements in the collection.
The string representation starts with "{", has a list of items separated
by commas (","), and ends with "}". Each item in the collection is
converted to a string by calling its ToString method (null is represented by "null").
Contained collections (except strings) are recursively converted to strings by this method.
Namespace:
Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
public static string ToString<T>( IEnumerable<T> collection )
Public Shared Function ToString(Of T) ( _ collection As IEnumerable(Of T) _ ) As String
public: generic<typename T> static String^ ToString( IEnumerable<T>^ collection )
Type Parameters
- T
Parameters
- collection
- Type: IEnumerable<(Of <(<'T>)>)>
A collection to get the string representation of.