public static void Main() { Foo b = HelperToMarkFooAndRequireBase(); IBar i = b; i.Method(); }
public static void Main() { Foo b = null; IBar i = b; i.Method(); }
public static void Main() { Foo f = HelperToMarkFooAndRequireBase(); f.Method(); IBar i = GetAnIBar(); i.Method(); }