title: MVC 4 - I'd like to make a table visible or hidden based on a condition
body: <p>I have the following MVC 4 Razor code:</p>
  
  <pre><code>&lt;h4&gt;You currently have @Model.Count() items listed for sale. @Html.ActionLink("Click here to add a new listing", "Create")&lt;/h4&gt;
  &lt;br /&gt;
  
  &lt;table style="visibility: hidden"&gt;
  ....
  </code></pre>
  
  <p>I would like to make the visibility of the table hidden if @Model.Count() is zero and visible if the count is greater than zero. Is this possible?</p>