title: Question about use of new { }
body: <p>I am currently working my way through the Apress ASP.NET MVC2 book, and I am a little bit confused as to the user of <strong>new { returnUrl }</strong> in the following code:</p>
  
  <pre><code>public RedirectToRouteResult RemoveFromCart(Cart cart, int productID, string returnUrl)
  {
      Product product = productsRepository.Products.FirstOrDefault(p =&gt; p.ProductID == productID);
      cart.RemoveLine(product);
      return RedirectToAction("Index", new { returnUrl });
  }
  </code></pre>
  
  <p>Is it something to do with creating a new string, rather than simply passing a reference to the parameter passed in?</p>