title: How to add spaces dropdownlist values in MVC
body: <p>I have a dropdownlist in a view like this,</p>
  
  <pre><code>&lt;style type="text/css"&gt;
  .form-control {
      width: 50%;
      padding: 10px;
  }
  </code></pre>
  
  <p></p>
  
  <pre><code>@Html.DropDownListFor(x =&gt; x.FileName, ((IEnumerable&lt;SelectListItem&gt;)ViewData["Items"]), new { size = 15, @class = "form-control" , @style = "padding: 10px;"})
  @Html.ValidationMessageFor(x =&gt; x.FileName)
  </code></pre>
  
  <p>The values look like below,</p>
  
  <pre><code>aaa.txt (2015-01-01) (0 B)
  abcdedfff.txt (2015-02-01) (17 MB)
  </code></pre>
  
  <p>I want to add some spaces between these items so that it would look like below,</p>
  
  <pre><code>aaa.txt       (2015-01-01) (0 B)
  abcdedfff.txt (2015-02-01) (17 MB)
  </code></pre>
  
  <p>The controller has below code,</p>
  
  <pre><code>if (Directory.Exists(path))
  {
      files = Directory.EnumerateFiles(path, "*", SearchOption.AllDirectories)
                                       .Select(Path.GetFileName).OrderBy(f =&gt; f).ToArray();
  
  }
  
  long fSize = 0;
  var count = 0;
  
  var fileModified = "";
  string fileSize = "";
  string[] sizes = { "B", "KB", "MB", "GB" };
  foreach (var filename in files)
  {
     var fileInfo = new FileInfo(path + "\\" + filename);
     fSize = fileInfo.Length;
     int order = 0;
     while (fSize &gt;= 1024 &amp;&amp; order + 1 &lt; sizes.Length)
     {
          order++;
          fSize = fSize / 1024;
     }
  
     fileSize = String.Format("{0:0.##} {1}", fSize, sizes[order]);
  
     fileModified = fileInfo.LastWriteTime.ToString("yyyy-MM-dd hh:mm:ss tt");
  
     SelectListItem file = new SelectListItem() { Value = count.ToString(), Text = filename + " ( " + fileModified + " )" + " ( " + fileSize + " )" };
  
     fileItems.Add(file);
     count++;
  }
  </code></pre>
  
  <p>How do I do that?</p>