-
-
Save alanmcgovern/6f2c4173cc02e49cb886 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
using System; | |
namespace sdgdeyefhy | |
{ | |
class MainClass | |
{ | |
public static void Main (string[] args) | |
{ | |
Console.WriteLine ("Hello World!"); | |
new Foo ().Method (); | |
} | |
public virtual void Method () | |
{ | |
} | |
protected int Transform (int value) | |
{ | |
return value + 5; | |
} | |
} | |
class Foo : MainClass | |
{ | |
public override void Method () | |
{ | |
Console.WriteLine (Transform (5)); | |
base.Method (); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment