public static void Demo() { ShapeMaker sm = new ShapeMaker(); sm.DrawCircle(); sm.DrawSquare(); Console.ReadLine(); }
static void Main(string[] args) { var shapeMaker = new ShapeMaker(); shapeMaker.drawCircle(); shapeMaker.drawRectangle(); shapeMaker.drawSquare(); }
static void Main(string[] args) { ShapeMaker shapeMaker = new ShapeMaker(); shapeMaker.DrawCircle(); shapeMaker.DrawRectangle(); shapeMaker.DrawSquare(); Console.ReadKey(); }
static void Main(string[] args) { ShapeMaker maker = new ShapeMaker(); maker.drawRectangle(); maker.drawSquare(); maker.drawStar(); Console.Read(); }