title: C# How to convert CSV data into JSON data
body: <p><a href="https://i.stack.imgur.com/sVoAR.png" rel="nofollow noreferrer">This is my code</a></p>
  <p>The CSV file is incredibly simple (i thought i start off simple - 2 rows):</p>
  <p>Name,Address
  Dave,example street 1
  Charlie,example street 2
  jordan,Example 3
  Ross,simple Street</p>
  <p>I am trying to print out the CSV data into JSON. I know i am missing a few things but I'm just not sure what. Any help would be great</p>
  <p>The plan is to add functionality to change the data to XML, but for now i just need it to change CSV data into JSON.</p>