예제 #1
0
	private static void Main()
	{
		Point p = new Point2D(1, 2);
		IVisitor v = new Chebyshev();
		p.Accept(v);
		Console.WriteLine(p.Metric);
	}
예제 #2
0
    private static void Main()
    {
        Point    p = new Point2D(1, 2);
        IVisitor v = new Chebyshev();

        p.Accept(v);
        Console.WriteLine(p.Metric);
    }