title: String data to be converted to Dictionary
body: <p>I have a String</p>
  
  <pre><code>string data = "[City, Delhi]&amp;[State, DL]&amp;[Country, IN]";
  </code></pre>
  
  <p>from which I want a dictionary. </p>
  
  <p>The approach I thought was</p>
  
  <ol>
  <li>Split on "&amp;"</li>
  <li>In the resulting Array, parse each element
  2.1 Replace "[" and "]"
  2.2 Insert into the Dictionary</li>
  </ol>
  
  <p>I hate this approach because my string already has "[" and "]" and I should be able to add it directly to Dictionary.</p>