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

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

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