{"author_url":"https://blog.hatena.ne.jp/baba_s/","height":"190","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","provider_url":"https://hatena.blog","url":"https://baba-s.hatenablog.com/entry/2015/07/18/100000","categories":[],"version":"1.0","provider_name":"Hatena Blog","author_name":"baba_s","width":"100%","title":"\u3010C#\u3011\u30e9\u30c3\u30d7\u30a2\u30e9\u30a6\u30f3\u30c9\u95a2\u6570\u3092\u5b9a\u7fa9\u3059\u308b","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2015%2F07%2F18%2F100000\" title=\"\u3010C#\u3011\u30e9\u30c3\u30d7\u30a2\u30e9\u30a6\u30f3\u30c9\u95a2\u6570\u3092\u5b9a\u7fa9\u3059\u308b - \u30b3\u30ac\u30cd\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/94867065/1535279515352365","description":"\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 public static class MathfUtils { public static int Wrap( int value, int min, int max ) { int n = ( value - min ) % ( max - min ); return n >= 0 ? n + min : n + max; } } \u4f7f\u3044\u65b9 MathfUtils.Wrap( 0, 0, 3 ) // 0 MathfUtils.Wrap( 1, 0, 3 ) // 1 MathfUtils.Wrap( 2, 0, 3 ) // 2 MathfUtils.Wrap( 3, 0, 3\u2026","published":"2015-07-18 10:00:00","blog_url":"https://baba-s.hatenablog.com/"}