private void Button_Click(object sender, RoutedEventArgs e) { Goose goose = new Goose(); goose.Name = "gary"; goose.Age = "probabley like 2 or something"; goose.Atk = "9876543213456"; goose.Honk(); goose.Attack(); }
private void SayName_Button_Click(object sender, RoutedEventArgs e) { string dogName = DogName.Text; Dog dog = new Dog(); dog.Name = dogName; dog.SayName(); Goose goose = new Goose(); goose.Name = "Honquefreid"; goose.Age = 69; goose.AttackDamage = 8675309; }
private void SayName_Button_Click(object sender, RoutedEventArgs e) { //string dogName = DogName.Text; //Dog dog = new Dog(); //dog.Name = dogName; //dog.SayName(); Goose goose = new Goose(); goose.Name = "Daddy"; goose.Age = 9001; goose.AttackDamage = 99999999; goose.Honk(); goose.AQuack(); }
private void SayName_Button_Click(object sender, RoutedEventArgs e) { /* string dogName = DogName.Text; * Dog dog = new Dog(); * dog.Name = dogName; * dog.SayName(); */ Goose goose = new Goose(); goose.Name = "GooseName"; goose.Age = 9001; goose.attackDamage = 999999999; goose.Honk(); goose.Aquack(); }