Created
October 2, 2018 21:27
-
-
Save PhiHuyHoang/3bb930817ad012c7ca1e0d3fbc02f681 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface Girl | |
{ | |
void check(); | |
} | |
class Vietnamese : Girl | |
{ | |
public void check() | |
{ | |
Console.WriteLine("Girl from Vietnam"); | |
} | |
} | |
class Chinese : Girl | |
{ | |
public void check() | |
{ | |
Console.WriteLine("Girl from China"); | |
} | |
} | |
class Japanese : Girl | |
{ | |
public void check() | |
{ | |
Console.WriteLine("Girl from Japan"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment