예제 #1
0
        private void Bark_Button_Click(object sender, RoutedEventArgs e)
        {
            Dog Bob = new ClassesIntro.Dog("Bob", 20, "Mix");

            Bob.Bark();
        }
예제 #2
0
        private void Bark_Button_Click(object sender, RoutedEventArgs e)
        {
            Dog doggy = new ClassesIntro.Dog("poodle", "bob", 12);

            doggy.Bark();
        }