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

            Spot.Age = 5;
            Spot.move();
            Spot.makeNoise();
        }
        static void Main(string[] args)
        {
            Dog spot = new Dog();

            spot.move();
        }
 static void Main(string[] args)
 {
     Dog Spot = new Dog();
     Spot.move();
 }