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

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

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