Last active
November 9, 2017 16:56
-
-
Save mikaelweave/3921f793d32625ce3a4a1dd3a13d8071 to your computer and use it in GitHub Desktop.
From https://stackoverflow.com/questions/18794264/visual-studio-how-to-serialize-object-from-debugger #debugging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(new System.Xml.Serialization.XmlSerializer(obj.GetType())).Serialize(new System.IO.StreamWriter(@"c:\temp\text.xml"), obj) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment