Esempio n. 1
0
		public static void Main (string[] args)
		{
			My3DShapes.Hexagon h = new My3DShapes.Hexagon();
			My3DShapes.Square s = new My3DShapes.Square();
			My3DShapes.Circle c = new My3DShapes.Circle();

			MyShape h2 = new MyShape(); //  B   bu şekilde de tanımlanabilir

			bfHome.BinaryFormatter b = new bfHome.BinaryFormatter();
		}
Esempio n. 2
0
        static void Main(string[] args)
        {
            RegularShape.Hexagon hex = new RegularShape.Hexagon();
            RegularShape.Circle  Cir = new RegularShape.Circle();
            RegularShape.Square  squ = new RegularShape.Square();

            ThreeDemensional.Hexagon hex2 = new ThreeDemensional.Hexagon();
            ThreeDemensional.Circle  cir2 = new ThreeDemensional.Circle();
            ThreeDemensional.Square  squ2 = new ThreeDemensional.Square();
        }