All pastes #267693 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-12-05 01:00 UTC
rendered paste body
using System;

public interface FooInterface {
        void Hello ();
}

public class Foo : FooInterface {
        void FooInterface.Hello () {
                Console.WriteLine ("Hello");
        }
}

public class Bar : Foo, FooInterface {
        public void Hello () {
                base.Hello ();
        }

        public static void Main (string[] args) {
        }
}