public void AddSkill(Skill skill) { Skills.Add(skill); }
public Resource(string title, Skill skill) { Name = title; Skill = skill; }
public void Define(Skill skill) { if (string.IsNullOrEmpty(skill?.Name)) { throw new ArgumentException("no, no asi no eh no"); } skills.Add(skill); }