Beispiel #1
0
        public override bool Equals(object obj)
        {
            var disciplina = (Cabinet)obj;

            if (disciplina != null)
            {
                return(NumeCabinet.Equals(disciplina.NumeCabinet));
            }
            return(false);
        }
Beispiel #2
0
 public override string ToString()
 {
     return(NumeCabinet.ToString());
 }
Beispiel #3
0
 public override int GetHashCode()
 {
     return(NumeCabinet.GetHashCode());
 }