fork download
using System;

class Foo 
{
	private void bar() {
		Console.WriteLine("Hello from parent");
	}	
}

class Baz:Foo {
	public void bar() {
		Console.WriteLine("Hello from child");
	}
}


public class Test
{
	public static void Main()
	{
		Baz b = new Baz();
		b.bar();
	}
}
Success #stdin #stdout 0.02s 15876KB
stdin
Standard input is empty
stdout
Hello from child