public bool IsValidCharacter(char character) { return(_validCharacters.Contains(character)); }
private CharacterGene(char character, CharSeq validChars) { Allele = NonNull(character); _validCharacters = NonNull(validChars); _valid = _validCharacters.Contains(Allele); }