public override int GetHashCode() { Console.WriteLine("I am not getting clled"); return(StudentID.GetHashCode()); }
/// <summary> /// Get a hash code for the current object. /// </summary> /// <returns></returns> public override int GetHashCode() { return(ID.GetHashCode() * 2 - StudentID.GetHashCode() - Grade.GetHashCode()); }
public override int GetHashCode() { return(StudentID.GetHashCode()); }