title: c# extract values from key-value pairs in string
body: <p>i have a string like this:</p>
  
  <pre><code>blablablamorecontentblablabla?name=michel&amp;score=5&amp;age=28&amp;iliedabouttheage=true
  </code></pre>
  
  <p>looks like a regular query string yes, but i'm not in any web context</p>
  
  <p>now i want to extract the values  (after the = sign) by their key , for example,what is the name (michel), the score(5), the age(28) etc.</p>
  
  <p>Normally i parse the string like get the position in the string of the word 'name', then add 5 to it (length of 'name=') and name this position 'start'  then search for the &amp;-sign and name that position 'end', and then get the string between the position start and end.</p>
  
  <p>But there must be a better solution, is this a regex thing?</p>