title: Razor syntax to show a drop down list in asp.net mvc
body: <p>I have in my view model, a comma separated string:</p>
  
  <pre><code>vm.colours = "black, white, blue, green"
  </code></pre>
  
  <p>In my Razor page, I want to show a drop down list, so I have:</p>
  
  <pre><code>@Html.DropDownList(m =&gt; m.colours, new SelectList(Model.colours))
  </code></pre>
  
  <p>However, this gives me a select list item for every LETTER in the string.</p>
  
  <p>Is there any way I can amend this, to give me a select list item for each colour?</p>
  
  <p>Thank you,</p>
  
  <p>Mark</p>