title: Use Razor @Html.DisplayFor to display list of data separated by comma
body: <p>How to use @Html.DisplayFor(...) to display a list of data, separated by comma.</p>
  
  <p>For example,
  Model:</p>
  
  <pre><code>public class Player
  {
     public int Id { get; set; }
     public List&lt;int&gt; scores { get; set; }
  }
  </code></pre>
  
  <p>If player.scores contains data 8,9,10.</p>
  
  <pre><code> @Html.DisplayFor(model =&gt; model.scores);
  </code></pre>
  
  <p>Output will be like: 8910;</p>
  
  <p>Is it possible to display the data separated by comma, like 8,9,10 ?</p>