{"author_name":"noriok","provider_url":"https://hatena.blog","description":"\u30e9\u30e0\u30c0\u5f0f\u306e\u518d\u5e30\u547c\u3073\u51fa\u3057\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u3059\u3002 using System; class Program { static void Main() { Func<int, int> fact = null; fact = n => { if (n == 0) return 1; else return n * fact(n - 1); }; for (int i = 1; i < 10; i++) Console.WriteLine(fact(i)); } } \u5b9f\u884c\u7d50\u679c\u3067\u3059\u3002 1 2 6 24 120 720 5040 40320 362880 fact \u5909\u6570\u3092 null \u3067\u521d\u671f\u5316\u3057\u3066\u3044\u307e\u3059\u3002 \u305d\u3046\u3057\u306a\u2026","author_url":"https://blog.hatena.ne.jp/noriok/","blog_title":"C#\u7df4\u7fd2\u65e5\u8a18","published":"2016-02-16 06:02:38","version":"1.0","type":"rich","provider_name":"Hatena Blog","height":"190","categories":[],"blog_url":"https://noriok.hatenadiary.jp/","url":"https://noriok.hatenadiary.jp/entry/2016/02/16/060238","width":"100%","image_url":null,"title":"\u30e9\u30e0\u30c0\u5f0f\u3067\u518d\u5e30","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnoriok.hatenadiary.jp%2Fentry%2F2016%2F02%2F16%2F060238\" title=\"\u30e9\u30e0\u30c0\u5f0f\u3067\u518d\u5e30 - C#\u7df4\u7fd2\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}