public override bool Equals(object obj) { if (!(obj is Students)) { return(false); } Students other = obj as Students; return(IdStudents.Equals(other.IdStudents)); }
public override int GetHashCode() { return(IdStudents.GetHashCode()); }