public override void Add(Component component)
 {
     if (component is Computer)
     {
         throw new Exception("Computer can only be top most object.");
     }
     _components.Add(component);
 }
 public virtual void Add(Component component)
 {
     throw new Exception("Component cannot be added to this component.");
 }