public Country(string name, ILanguage language) { Name = name; CodeCountry = new CodeCountry(name); if (Languages == null) { throw new ArgumentNullException(); } Languages.Add(language); }
public Country(string name) : this(name, new Language()) { Name = name; CodeCountry = new CodeCountry(name); }