是否有:C# 文字库
是否有针对不同数据结构和内置类的 ToString
C# 库?
与扩展方法库相同吗?我想许多开发人员使用它们进行调试,查看数据包含什么。
例如: Debug.Writeline(dict); 可能会给我以下内容:
new Dictionary<string,string>() {{ "abc", "def" } , {"lmn", "opq"}};
或不同的样式。
谢谢。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能想尝试这个库: http://www.servicestack.net/mythz_blog/ ?p=202。无论如何,其他人之前也提出过类似的问题: 如何使用 LinqPad .Dump() Visual Studio 中的扩展方法?
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?