0

Is there a ToString C# library for different data structures, and built in classes?

Same as extension methods libraries? I imagine many developers use them for debugging, seeing what the data contains.

For example: Debug.Writeline(dict); may give me the following:

new Dictionary<string,string>() {{ "abc", "def" } , {"lmn", "opq"}};

or a different style.

Thanks.

marc_s
  • 704,970
  • 168
  • 1,303
  • 1,425
kobi7
  • 939
  • 1
  • 6
  • 14

1 Answers1

4

You might want to try out this library: http://www.servicestack.net/mythz_blog/?p=202. Anyway somebody else made a similar question before: How to use the LinqPad .Dump() extension method in Visual Studio?

Community
  • 1
  • 1
as-cii
  • 12,423
  • 4
  • 39
  • 43