Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Bird : BaseAnimal
- {
- public Bird(string name) : base(name)
- {
- }
- public override void DoMove()
- {
- Console.WriteLine(name + " is flying.");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement