G
Gigs_
if i us this constructor
public Person(string fn, string ln, string email, DateTime dob)
{
this.fname = fn;
this.lname = ln;
this.email = email;
this.dob = dob; //DateTime.Parse(dob);
}
how can i create new person?
Person p = new Person("john", "doe", "(e-mail address removed)", "12/12/2981"); this doesnt
work because it needs datetime object not string. Is there any way to put
datetime object or i just need to go with string?
public Person(string fn, string ln, string email, DateTime dob)
{
this.fname = fn;
this.lname = ln;
this.email = email;
this.dob = dob; //DateTime.Parse(dob);
}
how can i create new person?
Person p = new Person("john", "doe", "(e-mail address removed)", "12/12/2981"); this doesnt
work because it needs datetime object not string. Is there any way to put
datetime object or i just need to go with string?