Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public interface IStudent
- {
- void PrintFullName();
- }
- public class BaseStudent
- {
- public void PrintFullName()
- {
- // Implementation
- }
- }
- public class Student : BaseStudent, IStudent
- {
- public void PrintFullName()
- {
- // Implementation
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement