Beispiel #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;
 }
Beispiel #2
0
        static void Main(string[] args)
        {
            Husband Marek    = new Husband();
            Wife    Jana     = new Wife();
            Family  Orgonovi = new Family(Marek, Jana);

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