Пример #1
0
        static void Main(string[] args)
        {
            HorzBar h1 = new HorzBar(3);

            VertBar v1 = new VertBar(3);

            Frame f1 = new Frame(3, 2);

            Ladder ladd = new Ladder(10, 5, 1);

            Console.WriteLine("h1 width = {0}", h1.Lungime);

            Console.WriteLine("v1 height = {0}", v1.Inaltime);


            // TODO;

            // 2

            //Console.WriteLine("f1 width = {0}", f1.Lungime);

            //Console.WriteLine("f1 height = {0}", f1.Inaltime);


            // TODO Ladder
        }
Пример #2
0
        static void Main(string[] args)
        {
            HorzBar h = new HorzBar(10);
            VertBar v = new VertBar(5);

            Frame f = new Frame(6, 8);

            Ladder ladd = new Ladder(3, 2);
        }
Пример #3
0
 static void Main(string[] args)
 {
     HorzBar h = new HorzBar(4);
     VertBar v = new VertBar(3);
     Frame f = new Frame(3, 2);
     Ladder d = new Ladder(10, 2, 3);
     
     Console.WriteLine("lungimea lui h este {0}", h.Length);
 }
Пример #4
0
        static void Main(string[] args)
        {
            HorzBar h1 = new HorzBar(5);
            VertBar v1 = new VertBar(4);

            Frame f = new Frame(3, 2);

            Ladder lad = new Ladder(30, 2, 1);
        }
Пример #5
0
        static void Main(string[] args)
        {
            HorzBar h = new HorzBar(4);
            VertBar v = new VertBar(3);
            Frame   f = new Frame(3, 2);
            Ladder  d = new Ladder(10, 2, 3);

            Console.WriteLine("lungimea lui h este {0}", h.Length);
        }
Пример #6
0
        static void Main(string[] args)
        {
            HorzBar h = new HorzBar(10);
            VertBar v = new VertBar(13);


            Frame f = new Frame(15, 13);


            Ladder ladd = new Ladder(10, 4);
        }
Пример #7
0
        static void Main(string[] args)
        {
            HorzBar h1 = new HorzBar(4);

            VertBar v1 = new VertBar(3);


            Frame f1 = new Frame(3, 2);

            Ladder ladd = new Ladder(20, 3, 2);
        }