Check out example codes for ".net c# print object". It will help you in understanding the concepts better.
Code Example 1
Console.WriteLine(JsonConvert.SerializeObject(OBJECTNAME, Formatting.Indented););
Code Example 2
Console.WriteLine(JsonConvert.SerializeObject(OBJECTNAME, Formatting.Indented));
Learn ReactJs, React Native from akashmittal.com