private void SayName_Button_Click(object sender, RoutedEventArgs e) { Dog somethingelse = new ClassesIntro.Dog("Harley", "German Shepard", 15, true); somethingelse.Name = "Harley"; somethingelse.SayName(); }
private void SayName_Button_Click(object sender, RoutedEventArgs e) { Dog doggy = new ClassesIntro.Dog("golden retrievers", "lily", 30); doggy.SayName(); }