{"url":"https://baba-s.hatenablog.com/entry/2014/09/26/140428","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2014%2F09%2F26%2F140428\" title=\"\u3010C#\u3011\u914d\u5217\u3084\u30ea\u30b9\u30c8\u304b\u3089\u76ee\u7684\u306e\u5024\u306b\u6700\u3082\u8fd1\u3044\u5024\u3092\u53d6\u5f97\u3059\u308b\u62e1\u5f35\u30e1\u30bd\u30c3\u30c9 - \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>","blog_url":"https://baba-s.hatenablog.com/","published":"2014-09-26 14:04:28","author_url":"https://blog.hatena.ne.jp/baba_s/","categories":["C#","C# - \u62e1\u5f35\u30e1\u30bd\u30c3\u30c9"],"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180826/20180826160156.png","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","type":"rich","author_name":"baba_s","provider_url":"https://hatena.blog","title":"\u3010C#\u3011\u914d\u5217\u3084\u30ea\u30b9\u30c8\u304b\u3089\u76ee\u7684\u306e\u5024\u306b\u6700\u3082\u8fd1\u3044\u5024\u3092\u53d6\u5f97\u3059\u308b\u62e1\u5f35\u30e1\u30bd\u30c3\u30c9","height":"190","width":"100%","provider_name":"Hatena Blog","description":"\u53c2\u8003\u30b5\u30a4\u30c8\u69d8 \u5dee\u3057\u66ff\u3048\u30fbMin\u3067\u76ee\u7684\u306e\u5024\u306b\u6700\u3082\u8fd1\u3044\u5024\u3092\u9078\u3076 \u3010\u25b2\u2192\u5ddd\u4fe3\u6676\u306e\u7e01\u5074\u2192\u6280\u8853\u95a2\u9023\u57f7\u7b46\u60c5\u5831\u2192\u300e\u3010\u7701\u30a8\u30cd\u5bfe\u5fdc\u3011 C#\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u52b9\u7387\u7684\u306a\u66f8\u304d\u65b9 LINQ to Objects \u30de\u30cb\u30a2\u30c3\u30af\u30b9\u300f\u8aad\u8005\u30b5\u30dd\u30fc\u30c8\u3011 \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 using System; using System.Collections.Generic; using System.Linq; public static class IEnumerableExtensions { /// <summary> /// \u76ee\u7684\u306e\u5024\u306b\u6700\u3082\u8fd1\u3044\u5024\u3092\u8fd4\u3057\u307e\u3059 /// </summary> public static int Nearest( t\u2026","version":"1.0"}