{"blog_url":"https://cs.hatenablog.jp/","image_url":null,"provider_url":"https://hatena.blog","title":"C#, Java8\u306e\u30e9\u30e0\u30c0\u3067\u518d\u5e30\u95a2\u6570\u3092\u66f8\u304f","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/Sampo/","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcs.hatenablog.jp%2Fentry%2F2014%2F01%2F09%2F010700\" title=\"C#, Java8\u306e\u30e9\u30e0\u30c0\u3067\u518d\u5e30\u95a2\u6570\u3092\u66f8\u304f - C Sharpens you up\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"Sampo","height":"190","type":"rich","width":"100%","url":"https://cs.hatenablog.jp/entry/2014/01/09/010700","blog_title":"C Sharpens you up","published":"2014-01-09 01:07:00","categories":[".NET","Java","\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0"],"description":"C#\u306f\u30e9\u30e0\u30c0\u8a18\u6cd5\u3067\u7121\u540d\u95a2\u6570\u304c\u66f8\u3051\u307e\u3059\u3057\u3001Java\u30828\u304b\u3089\u30e9\u30e0\u30c0\u8a18\u6cd5\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u3057\u304b\u3057\u7121\u540d\u95a2\u6570\u3067\u306f\u518d\u5e30\u95a2\u6570\u304c\u66f8\u3051\u307e\u305b\u3093\u3002 \u3055\u3066\u3069\u3046\u3044\u3046\u3053\u3068\u304b\u3002\u518d\u5e30\u95a2\u6570\u306e\u4ee3\u8868\u9078\u624b\u3068\u3057\u3066\u968e\u4e57\u8a08\u7b97\u3092\u4f8b\u306b\u3068\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002 \u307e\u305a\u3001\u30e1\u30bd\u30c3\u30c9\u3068\u3057\u3066\u518d\u5e30\u7684\u306b\u66f8\u3044\u3066\u307f\u307e\u3059\u3002 int Pow(int n) { return (n > 1) ? n * Pow(n - 1) : 1; } \u3053\u3046\u3067\u3059\u306d\u3002\u3067\u306f\u3001\u3053\u308c\u3092\u30e9\u30e0\u30c0\u8a18\u6cd5\u3067\u66f8\u3053\u3046\u3068\u3059\u308b\u3068\u2026 Func<int, int> pow = n => (n > 1) ? n * \u3010\u3053\u3053\u306b\u66f8\u304f\u30e1\u30bd\u30c3\u30c9\u540d\u304c\u306a\u3044\uff01\u3011(n - 1) : 1; \u305d\u3046\u3001\u81ea\u5206\u81ea\u8eab\u3092\u547c\u307c\u3046\u306b\u3082\u81ea\u5206\u81ea\u8eab\u306f\u7121\u540d\u3060\u304b\u3089\u2026"}