// CS0411: The type arguments for method `Test' cannot be inferred from the usage. Try specifying the type arguments explicitly // Line: 15 using System; public delegate void Foo (T t); class X { public void Test (Foo foo) { } static void Main () { X x = new X (); x.Test (delegate (string str) { }); } }