How to Dump Objects in C#


Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content
Previous: Using ObjectDumper

It is very useful to be able to visualize your objects or collections at runtime, without having the need to open a particular debugging tool, like the debugger of visual studio.

In this article I explained 3 ways to be able to dump an object at runtime so you can visualize the object values.

Let me know if this article was clear enough to explain this topic, and if you know more ways to dump objects, feel free to share them in your comment.

Article has been ported from

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content