예제 #1
0
        static void Main(string[] args)

        {
            var circle = new SuperCircle("circle");

            Console.WriteLine(circle.Name);
        }
예제 #2
0
        static void Main(string[] args)

        {
            ICircle circle = new SuperCircle(10, "circle");

            Console.WriteLine(circle.CalculateDiameter());
        }