I am debugging the code, and I have a strongly typed object that has about 30 properties. Is there a quick way to put an object on the clipboard as serialized XML?
So in other words:
If I had a class definition
public class myObj
{
public int ID
{
get;
set;
}
}
and debugged these 2 lines of code:
myObj object = new myObj();
object.ID = 123;
Is there a way to right click and “copy object as serialized xml”.
for creating
<object>
<ID>123</ID>
</object>
source
share