Esempio n. 1
0
        public override bool Equals(object obj)
        {
            if (!(obj is Students))
            {
                return(false);
            }
            Students other = obj as Students;

            return(IdStudents.Equals(other.IdStudents));
        }
Esempio n. 2
0
 public override int GetHashCode()
 {
     return(IdStudents.GetHashCode());
 }