Why is this compiling?
B is used in without any general parameters, and this is compiled in Java. What's going on here?
interface B<T> { public T Foo(T value); } public class A { public B What() { return null; } public void Foo() { B x = What(); x.Foo(123); } }
source share