Beispiel #1
0
        private void bark_button_click(object sender, RoutedEventArgs e)
        {
            Dog jordan = new Dog("Sid", 20, "Pug");

            jordan.Bark();
        }
Beispiel #2
0
        private void Bark_Button_Click(object sender, RoutedEventArgs e)
        {
            Dog dog = new Dog();

            dog.Bark();
        }
Beispiel #3
0
        private void Bark_Button_Click(object sender, RoutedEventArgs e)
        {
            Dog dog = new Dog("Harley", "German Shepard", 15, true);

            dog.Bark();
        }
        private void Bark_Button_Click(object sender, RoutedEventArgs e)
        {
            Dog dog = new Dog("Bailey", "Corgi", 25);

            dog.Bark();
        }
        private void Bark_Button_Click(object sender, RoutedEventArgs e)
        {
            Dog doggo = new Dog("Pax", 27, "Labradoodle");

            doggo.Bark();
        }
        private void Bark_Button_Click(object sender, RoutedEventArgs e)
        {
            Dog Doge = new Dog("Doge", 20, "Mix");

            Doge.Bark();
        }
        private void Bark_Button_Click(object sender, RoutedEventArgs e)
        {
            Dog yEeT = new Dog("Sassy", 16, "Yorkie Poo");

            yEeT.Bark();
        }