title: @Html.DisplayNameFor for details model
body: <p>In my model I have an Entity</p>
  
  <pre><code>public class Carrier
  {
  public Guid CarrierId { get; set; }
  public string Name { get; set; }
  }
  </code></pre>
  
  <p>I also have a ViewModel</p>
  
  <pre><code>public class CarrierIndexViewModel
  {
  public IEnumerable&lt;Carrier&gt; Carriers { get; set; }
  public PagingInfo PagingInfo { get; set; }
  }
  </code></pre>
  
  <p>I have a strongly-typed (CarrierIndexViewModel) Index View, which is suppose to display a table of Carrier using PagingInfo.</p>
  
  <p>I'm trying to use Html helper to display Carrier.Name in my table's header
  When I used IEnumerable as a model for this view I had
  <code>@Html.DisplayFor(model =&gt; model.Name)</code></p>
  
  <p>How can I get same result using my new CarrierIndexViewModel to display title for Carrier.Name?</p>