Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
interface IPrintAddress
void PrintAddress() { WriteLine(""); }
class Blog : IPrintAddress { } // Doesn't cause error!
IPrintAddress i = new Blog();
i.PrintAddress(); // prints ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment