title: mvc3 format phone number
body: <p>I want to display the phone number like this  (999) 999-9999  I thought the css class would do this but it doesn't</p>
  
  <pre><code>&lt;td&gt;@Html.Encode(Model.PhoneModel.PhoneNumber)&lt;/td&gt;.
  </code></pre>
  
  <p>I tried this, but it doesn't work</p>
  
  <pre><code>@String.Format("{0:(###) ###-####}",Model.PhoneModel.PhoneNumber.ToString())
  </code></pre>