/// <summary> /// The add random gene. /// </summary> /// <param name="genotype"> /// The genotype. /// </param> private void AddRandomGene(Genotype genotype) { genotype.Genes.Add(Gene.GetRandomGene()); }