I have an object (User) which is not marked as [Serializable()].
I need to convert the entire object (including child objects) to string.
This is an actual need to convert the object from a third party tool response which is not marked as [Serializable()].
How can i convert an entire C# object to string/xml of the above scenario?