private static double Fitness(Genotype <DoubleGene> gt) { Console.WriteLine($"Gene count: {gt.GetNumberOfGenes()}"); return(0); }