title: Why IEnumerable<HttpPostedFileBase> count is 1 when I upload 0 files?
body: <p>I have a multiple upload form and I want to check if there is any files when I launch the upload. Here is my code.</p>
  
  <p>View :</p>
  
  <pre><code>@using (Html.BeginForm("Upload", "Home", FormMethod.Post, 
                         new { enctype = "multipart/form-data"}))
  {
      &lt;input name="files" type="file" multiple="multiple" /&gt;
      &lt;input type="submit" value="Upload" /&gt;
  }
  </code></pre>
  
  <p>Controller :</p>
  
  <pre><code>[HttpPost]
  public ActionResult Upload(IEnumerable&lt;HttpPostedFileBase&gt; files)
  {
      if (files.Count() &gt; 0) Console.WriteLine(files.Count()); // display 1
      if(files.Any()) Console.WriteLine(files.Any()); // display true
      if (files.First() == null) Console.WriteLine("first null"); // display "first null"
  
      return View();
  }
  </code></pre>
  
  <p>Why my program display results like that when I submit an empty form ?
  I'll probably check with JS my field, but I want to understand what is these data in my <code>IEnumerable&lt;HttpPostedFileBase&gt;</code>. Thank you.</p>