Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public interface IUcanlar
- {
- string Uc();
- }
- public interface IYuruyenler
- {
- string Yuru();
- }
- public class Tavuk : IYuruyenler
- {
- public string Yuru()
- {
- return "Yürüdü..";
- }
- }
- public class Guvercin : IYuruyenler, IUcanlar
- {
- public string Uc()
- {
- return "Uçtu..";
- }
- public string Yuru()
- {
- return "Yürüdü..";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement