title: Adding Class Name in JSON using C#
body: <p>I created below JSON  of Person class using JSON.NET But "Person" is not showing up anywhere in JSON. I think it should show up in the start. What is the problem or how to resolve? Thank you. </p>
  
  <pre><code>[
    {
      "Name": "Umer",
      "Age": 25
    },
    {
      "Name": "Faisal",
      "Age": 24
    }
  ]
  </code></pre>
  
  <p>C# code is here which generated JSON</p>
  
  <pre><code>List&lt;Person&gt; eList = new List&lt;Person&gt;();
  Person a = new Person("Umer",25);
  Person b = new Person("Faisal", 24);
  eList.Add(a);
  eList.Add(b);
  string jsonString = JsonConvert.SerializeObject(eList,Formatting.Indented);
  </code></pre>