- public class Baby
- {
- public void Cry()
- {
- Console.WriteLine("{0} Cry", this.GetType().Name);
- }
- }
- public class Brother
- {
- public void Turn()
- {
- Console.WriteLine("{0} Turn", this.GetType().Name);
- }
- }
- public class Chicken
- {
- public void Woo()
- {
- Console.WriteLine("{0} Woo", this.GetType().Name);
- }
- }
- public class Dog
- {
- public void Wang()
- {
- Console.WriteLine("{0} Wang", this.GetType().Name);
- }
- }
- public class Father
- {
- public void Roar()
- {
- Console.WriteLine("{0} Roar", this.GetType().Name);
- }
- }
- public class Mother
- {
- public void Whisper()
- {
- Console.WriteLine("{0} Whisper", this.GetType().Name);
- }
- }
- public class Mouse
- {
- public void Run()
- {
- Console.WriteLine("{0} Run", this.GetType().Name);
- }
- }
- public class Neighbor
- {
- public void Awake()
- {
- Console.WriteLine("{0} Awake", this.GetType().Name);
- }
- }
- public class Stealer
- {
- public void Hide()
- {
- Console.WriteLine("{0} Hide", this.GetType().Name);
- }
- }