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

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