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:
public DriverLicense(string condition, string dateofissue, int number, int type)
{
    Condition = condition;
    DateOfIssue = dateofissue;
    Number = number;
    Type = type;
}
and just in case, the code for the database:
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");
				
                        
Your constructor expects two
Strings and twointsbut you send four
strings:possible solution is either to change instances creation
or implement an overload constructor:
so you can easily put