示例#1
0
        public void mammoth()
        {
            Mammoth mammoth = new Mammoth();

            this.Name          = "Manny ";
            this._numberOfLegs = 4;
            this.CanSwim       = true;

            Console.WriteLine("The first Mammal is a, Wooly Mammoth:");
            Console.WriteLine("The name is " + this.Name);
            Console.WriteLine(this.Name + " is a Vertabrate, has a NeoCortex, has hair/fur(Honestly it's fur i think)");
            Console.WriteLine("has 3 middle ear bones, has " + this._numberOfLegs + "legs and Mammary Glands!");
            Console.WriteLine("Them being able to swim is " + this.CanSwim);
        }
示例#2
0
        static void Main(string[] args)
        {
            Snake snake = new Snake();

            snake.GetClass();
            snake.GetType();
            snake.snek();

            Console.WriteLine("-->");

            Axolotl axolotl = new Axolotl();

            axolotl.immortal();

            Console.WriteLine("");
            Console.WriteLine("----------------------------------------------------------------------------------------");
            Console.WriteLine("");

            Mammoth mammoth = new Mammoth();

            mammoth.GetClass();
            mammoth.GetType();
            mammoth.mammothstuff();

            Console.WriteLine("-->");

            Bear bear = new Bear();

            bear.bearstash();

            Console.WriteLine("");
            Console.WriteLine("----------------------------------------------------------------------------------------");
            Console.WriteLine("");

            Crow crow = new Crow();

            crow.GetClass();
            crow.GetType();
            crow.crowsnest();

            Console.WriteLine("-->");

            Sparrow dove = new Sparrow();

            dove.Pokeball();


            Console.WriteLine("");
            Console.WriteLine("----------------------------------------------------------------------------------------");
            Console.WriteLine("");

            Carpy goldfish = new Carpy();

            goldfish.GetClass();
            goldfish.GetType();
            goldfish.Kphish();

            Console.WriteLine("-->");

            Carp carp = new Carp();

            carp.GetClass();
            carp.GetType();
            carp.carpinfo();

            Console.WriteLine("");
            Console.WriteLine("----------------------------------------------------------------------------------------");
            Console.WriteLine("");

            KD kd = new KD();

            kd.GetClass();
            kd.GetType();
            kd.Dlair();

            Console.WriteLine("");

            Iguana iguana = new Iguana();

            iguana.iggy();
        }
示例#3
0
        public void mammothstuff()
        {
            Mammoth mammoth = new Mammoth();

            mammoth.mammoth();
        }