Java 8ãé¢æ°åã£ã½ã使ãããã®ãã¾ããªã - ããã ã®ã¯ã¦ãª Java ã¯å¤§å¤ã§ããã C# ããã¯ãã©ã ãå¼ã Func å(Java ã® Function åã«å¤§ä½å¯¾å¿)ã Visual Studio 2008 æ代(5å¹´å)ãã使ããã®ã§ãä¼¼ããããªãã¨ã¯ãã§ã«ã§ãã¾ãã ä¸è¨ã®è¨äºã®ãã¯ãªãªã®ã§ãä¸è¨ã®è¨äºãã¾ãã¯èªãã§ããèªããã¨ããããããã¾ãã Func å C# ã§ã¯ Func ããªã²ã¼ãã¨ãããã®ãããã¾ããåå空éåãåãã©ã¡ã¼ã¿ã¾ã§å«ããã¨ãSystem.Func<TArg, TResult> ã§ãã ãããªæãã§ä½¿ãã¾ãã Func<string, string> enclose = s => "[" + s + "]"; ãããå¼ã³åºããã¨ããã¨ããããªæãã«ãªãã¾ãã // Javaã ã¨enclose.apply("foo")ã¨ãapplyãå¿ è¦ Syst
{{#tags}}- {{label}}
{{/tags}}