title: The best overload match has some invalid agruements c#
body: <p>I am making a database for four sample objects, and when create the database, i get the error. here is the code for the constructor:</p>
  
  <pre><code>public DriverLicense(string condition, string dateofissue, int number, int type)
  {
      Condition = condition;
      DateOfIssue = dateofissue;
      Number = number;
      Type = type;
  
  }
  </code></pre>
  
  <p>and just in case, the code for the database:</p>
  
  <pre><code>DriverLicense[] Licenses = new DriverLicense[4];
  Licenses[0] = new DriverLicense("Supervised at all times", "3/6/2013", "176325", "2");
  Licenses[1] = new DriverLicense("Unsupervised at all times", "2/5/2006", "18364", "3");
  Licenses[2] = new DriverLicense("Supervised at all times", "6/1/2011", "472957", "2");
  Licenses[3] = new DriverLicense("Unsupervised at all times", "8/4/2009", "648217", "3");
  </code></pre>