public override bool equals(object o) { if (!(o is Senone)) { return(false); } Senone senone = (Senone)o; return(this.getID() == senone.getID()); }
public override long getID() { long num = 1L; long num2 = 0L; Senone[] array = this.senones; int num3 = array.Length; for (int i = 0; i < num3; i++) { Senone senone = array[i]; num2 += senone.getID() * num; num *= (long)((ulong)20000); } return(num2); }