Example #1
0
 public override bool Equals(object obj)
 {
     return(ReferenceEquals(this, obj) ||
            obj is Kana kana &&
            Character.Equals(kana.Character) &&
            Romaji.Equals(kana.Romaji));
 }
 public bool Equals(TranslatedStringWithDefault other)
 {
     return(Default.Equals(other.Default) && English.Equals(other.English) && Japanese.Equals(other.Japanese) && Romaji.Equals(other.Romaji));
 }