title: Most optimal way to parse querystring within a string in C#
body: <p>I have a querystring alike value set in a plain string. I started to split string to get value out but I started to wonder that I can proabably write this in one line instead. Could you please advice if there is more optimal way to do this?</p>
  
  <p>I am trying to read "123" and "abc" like in Request.QueryString but from normal string.</p>
  
  <pre><code> protected void Page_Load(object sender, EventArgs e)
  {
      string qs = "id=123&amp;xx=abc";
      string[] urlInfo = qs.Split('&amp;');
      string id = urlInfo[urlInfo.Length - 2];
      Response.Write(id.ToString());
  
  }
  </code></pre>