Ejemplo n.º 1
0
 public PasswordGuess(PasswordInfo password, int numberCharactersCorrect)
 {
     this.Password = password;
     this.NumberOfCharactersCorrect = numberCharactersCorrect;
 }
Ejemplo n.º 2
0
 public int GetMatchingCharacters(PasswordInfo password)
 {
     return(this.Characters.Count(c => password.Characters.Contains(c)));
 }