Esempio n. 1
0
 public Family(Husband father, Wife mother, int planedKidsCount)
 {
     WeedingDate          = DateTime.Now;
     this.father          = father;
     this.mother          = mother;
     kids                 = new List <Child>();
     this.planedKidsCount = planedKidsCount;
 }
Esempio n. 2
0
        static void Main(string[] args)
        {
            Husband Marek    = new Husband();
            Wife    Jana     = new Wife();
            Family  Orgonovi = new Family(Marek, Jana);

            Orgonovi.execute();
        }
Esempio n. 3
0
 public Family(Husband father, Wife mother) : this(father, mother, 5) // tímto číslem si nejsem 100% jistý
 {
 }
Esempio n. 4
0
 public Child(ref Husband fater, ref Wife mother)
 {
 }