예제 #1
0
 public abstract void VisitCircle(Circle c);
예제 #2
0
 public override void VisitCircle(Circle c)
 {
     Result += c.TopLeft.X + c.Ratio * 2;
 }
예제 #3
0
 public override void VisitCircle(Circle c)
 {
     Result += c.Area;
 }