title: In C#, how can I construct and parse nested querystrings?
body: <p>I'm writing an API and would like people to be able to supply a Google Charts API call as an argument. What's the proper way to deconstruct this problematic API call, where an argument contains an entirely separate API call?</p>
  
  <p>For instance:</p>
  
  <pre><code>?method=createimage&amp;chart1=https://chart.googleapis.com/chart?chs=250x100&amp;chd=t:60,40&amp;cht=p3&amp;chl=Hello|World
  </code></pre>
  
  <p>In the example above, I'd like to think of it as (2) query string keys: <strong>method</strong> and <strong>chart1</strong>. Is it possible for me to parse the above example as 2 query string keys, leaving the Google Charts API call intact, rather than breaking it down? Could I enclose the call as JSON or something along those lines?</p>
  
  <p>Thanks much! Cheers</p>