Esempio n. 1
0
 public override bool Equals(object obj)
 {
     return((square == (obj as Garage).square) && adress.Equals((obj as Garage).adress));
 }
Esempio n. 2
0
 public override bool Equals(object obj)
 {
     return((name == (obj as Department).name) && adress.Equals((obj as Department).adress));
 }