예제 #1
0
 public bool Equals(Students value)
 {
     if (ReferenceEquals(null, value))
     {
         return(false);
     }
     if (ReferenceEquals(this, value))
     {
         return(true);
     }
     return(Equals(fName, value.fName) &&
            Equals(sName, value.sName) &&
            Equals(tName, value.tName) &&
            Equals(SSN, value.SSN) &&
            Equals(address, value.address) &&
            Equals(mobile, value.mobile) &&
            Equals(email, value.email) &&
            specialty.Equals(value.specialty) &&
            university.Equals(value.university) &&
            faculty.Equals(value.faculty));
 }