예제 #1
0
 public void Visit(RealEstate realEstate)
 {
     Total += realEstate.EstimatedValue;
 }
예제 #2
0
 public void Visit(RealEstate realEstate)
 {
     Amount += realEstate.MonthlyRent;
 }