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