title: Response.Redirect passing a value dynamically
body: <p>net c#.</p>
  
  <p>I have a page A with this code</p>
  
  <pre><code>//ON PAGE A:        
  string contentId = ContentIdFromUrl;
  Response.Redirect("~/x/y/b.aspx?ContentId={0}"contentId);
  </code></pre>
  
  <p>and I need redirect the user to page B passing in the URL a variable in my case <code>ContentId</code>.</p>
  
  <p>I receive a syntax error with my code.</p>
  
  <p>Could you write a correct version?</p>
  
  <p>Thanks for your time.</p>