title: Cleanest way to have inline code blocks using the ASP.NET Razor view engine?
body: <p>This works:</p>
  
  <pre><code>&lt;li @{if (Model.Mode == "map") {&lt;text&gt; class="bselected"&lt;/text&gt;}}&gt;@Html.ActionLink("Map &amp; Directions", MVC.Biz.Show(Model.SingleBiz.BizName, "map", string.Empty))&lt;/li&gt;
  </code></pre>
  
  <p>But it's ugly... Is there a better, cleaner way to do this? in this code, I'm checking if some view data is null or empty, if so add a class.</p>
  
  <p>Or is there another technique to accomplish accomplish this better?</p>