Exemple #1
0
 public clsStudent(string number, string name, clsDate birthdate, Single grade)
 {
     Number    = number;
     Name      = name;
     Birthdate = birthdate;
     vGrade    = grade;
 }
Exemple #2
0
 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;
 }
Exemple #3
0
 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;
 }
Exemple #4
0
        // ------------ CONSTRUCTORS -----------

        public clsStudent()
        {
            Number    = Name = "Not defined";
            Birthdate = new clsDate();
            vGrade    = -1;
        }
Exemple #5
0
 //  --  CONSTRUCTORS
 public clsAccount()
 {
     vNumber   = vType = vStatus = "Not defined";
     vOpenDate = new clsDate();
     vBalance  = -1;
 }