예제 #1
0
        public Tuple <int, double> GetInfo()
        {
            MainAnimal eq = this as MainAnimal;

            return(new Tuple <int, double>(eq.Age, eq.MaxSpeed));
        }
예제 #2
0
        public Tuple <int, double> GetInfo()
        {
            MainAnimal eq = this as MainAnimal;

            return(new Tuple <int, double>(eq.Age, eq.MaxHeightofFly));
        }