title: ASP.NET MVC Enumerable to delimited HTML in Razor
body: <p>I discovered that I can use <code>string.Join(", ", string[] enumerable)</code> to turn a list of strings into a single comma delimited string. Could I do something similar to produce for example a list of hyperlinks in a Razor View? Instead of something like: </p>
  
  <pre><code>@foreach(var item in enumerable) 
  {
      &lt;a href="@item.Url"&gt;@item.Title&lt;/a&gt;
      if(item != enumerable.Last()) { &lt;span&gt;, &lt;/span&gt; }
  }
  </code></pre>
  
  <p>And if so, would it be advisable or should I just stop being lazy?</p>