Curioddities: part 1 (Kit George)

Well, I thought I would start a series on interesting things in the framework, and see what people thought about things I find interesting or odd. I'd also love to know what other things you find odd ir interesting that don't happen to come up.

For this week, I thought I'd give you a bit of code, and simply ask: do you expect this to compile? If so, why? And if not, why not? Of course, you can go and simply try it out (and fee free to do so, obviously, as library code), but let me know what your intitial expectation was, and whether seeing the actual result changed your mind.

interface ITest {

      void SomeMethod();

}

class Test1 {

      public virtual void SomeMethod() {}

}

class Test2 : Test1, ITest {}