using System; class D { public void S (Func ftu, Func ftuv) { } } class Test { static D Factory (V v) { return new D (); } static void Main () { var danon = Factory (new { q = 5 }); danon.S ( () => "x", (l, str) => new { str } ); } }