c# print out object code example
Example 1: c# print out whole object
Console.WriteLine(JsonConvert.SerializeObject(OBJECTNAME, Formatting.Indented););
Example 2: .net c# print object
Console.WriteLine(JsonConvert.SerializeObject(OBJECTNAME, Formatting.Indented));