public clsStudent(string number, string name, clsDate birthdate, Single grade) { Number = number; Name = name; Birthdate = birthdate; vGrade = grade; }
public clsStudent(string number, string name, int day, int month, int year, Single grade) { Number = number; Name = name; Birthdate = new clsDate(day, month, year); vGrade = grade; }
public clsAccount(string number, string type, int day, int month, int year, string status, decimal balance) { vNumber = number; vType = type; vOpenDate = new clsDate(day, month, year); vStatus = status; vBalance = balance; }
// ------------ CONSTRUCTORS ----------- public clsStudent() { Number = Name = "Not defined"; Birthdate = new clsDate(); vGrade = -1; }
// -- CONSTRUCTORS public clsAccount() { vNumber = vType = vStatus = "Not defined"; vOpenDate = new clsDate(); vBalance = -1; }