예제 #1
0
        static void Main(string[] args)
        {
            Ruchka ruchka = new Ruchka();

            ruchka.color = "black";

            Door door = new Door(ruchka, 30);

            door.GetInfo();
            Console.ReadLine();
        }
예제 #2
0
 public Door(Ruchka ruchka1, int ves1)
 {
     ruchka = ruchka1;
     ves    = ves1;
 }