示例#1
0
        public void Main(string[] args)
        {
            Dog objDog = new Dog();

            objDog.Eat();
            base.Eat();
        }
示例#2
0
        static void Main(string[] args)
        {
            Dog dog = new Dog();

            dog.Eat();
            dog.Feature();
            dog.Noise();
        }