Method ToString
ToString()
Returns a string representation of this collection (and any nested collections). The string representation consists of a list of the collection's elements in the order they are returned by its enumerator, enclosed in square brackets ("[]"). Adjacent elements are separated by the characters ", " (comma and space).
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | a string representation of this collection |