public Family(Husband father, Wife mother, int planedKidsCount) { WeedingDate = DateTime.Now; this.father = father; this.mother = mother; kids = new List <Child>(); this.planedKidsCount = planedKidsCount; }
static void Main(string[] args) { Husband Marek = new Husband(); Wife Jana = new Wife(); Family Orgonovi = new Family(Marek, Jana); Orgonovi.execute(); }
public Family(Husband father, Wife mother) : this(father, mother, 5) // tímto číslem si nejsem 100% jistý { }
public Child(ref Husband fater, ref Wife mother) { }