how to print all attributes of an object in C# 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));