title: How to change the display of @Html.DisplayNameFor(model => model.name)
body: <p>I made a DataBase Fisrt MVC project and I'm having some issues with this.
  This is the Index of one of my Views:
  And for example, I would like </p>
  
  <blockquote>
    <p>@Html.DisplayNameFor(model => model.name)</p>
  </blockquote>
  
  <p>to be displayed as "User" instead of "name".</p>
  
  <p>How can I do this?</p>
  
  <p>Thanks in advance.</p>
  
  <pre><code>@model IEnumerable&lt;dispensario.pacientes&gt;
  
  @{
      ViewBag.Title = "Index";
  }
  
  &lt;h2&gt;Index&lt;/h2&gt;
  
  &lt;p&gt;
      @Html.ActionLink("Create New", "Create")
  &lt;/p&gt;
  &lt;table class="table"&gt;
      &lt;tr&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.name)
          &lt;/th&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.cedula)
          &lt;/th&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.carnet)
          &lt;/th&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.tipo_paciente)
          &lt;/th&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.estado)
          &lt;/th&gt;
          &lt;th&gt;&lt;/th&gt;
      &lt;/tr&gt;
  
  @foreach (var item in Model) {
      &lt;tr&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.name)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.cedula)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.carnet)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.tipo_paciente)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.estado)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.ActionLink("Edit", "Edit", new { id=item.idPaciente }) |
              @Html.ActionLink("Details", "Details", new { id=item.idPaciente }) |
              @Html.ActionLink("Delete", "Delete", new { id=item.idPaciente })
          &lt;/td&gt;
      &lt;/tr&gt;
  }
  
  &lt;/table&gt;
  </code></pre>