title: How to use DisplayNameFor with a class constant?
body: <p>I have this class and would like to display user friendly names. How to do it?</p>
  
  <pre><code>public static class NavigationRoles
  { 
      [Display(Name = "Structure d'offre de service")]
      public const string STRUCTURES = "STRUCTURES";
  }
  </code></pre>
  
  <p>Trying this <code>@Html.DisplayNameFor(m =&gt; NavigationRoles.STRUCTURES)</code> in my view returns an <code>InvalidOperationException</code>: <strong><em>Templates can be used only with field access, property access, single-dimension array index, or single-parameter custom indexer expressions</em></strong>.</p>