public void RemoveAt(int index)
 {
     if (index < 0 || index >= Breeds.Count)
     {
         throw new ArgumentOutOfRangeException(nameof(index));
     }
     Breeds.RemoveAt(index);
 }
 public bool Remove(string genes)
 {
     if (Contains(genes, out int i))
     {
         Breeds.RemoveAt(i);
         return(true);
     }
     return(false);
 }
 public bool Remove(IEnumerable <EGene> genes)
 {
     if (Contains(genes, out int i))
     {
         Breeds.RemoveAt(i);
         return(true);
     }
     return(false);
 }