Click or drag to resize
AlgorithmsToString Method
Overload List
  NameDescription
Public methodStatic memberToStringTKey, TValue(IDictionaryTKey, TValue)
Gets a string representation of the mappings in a dictionary. The string representation starts with "{", has a list of mappings separated by commas (", "), and ends with "}". Each mapping is represented by "key->value". Each key and value in the dictionary 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.
Public methodStatic memberToStringT(IEnumerableT)
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.
Public methodStatic memberToStringT(IEnumerableT, Boolean, String, String, String)
Gets a string representation of the elements in the collection. The string to used at the beginning and end, and to separate items, and supplied by parameters. Each item in the collection is converted to a string by calling its ToString method (null is represented by "null").
Top
See Also