{"blog_url":"https://noriok.hatenadiary.jp/","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnoriok.hatenadiary.jp%2Fentry%2F2016%2F07%2F23%2F130828\" title=\"MinBy, MaxBy \u3092\u4f5c\u308b - 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>","description":"using System; using System.Collections.Generic; using System.Linq; public static class Ext { public static T MinBy<T, U>(this IEnumerable<T> xs, Func<T, U> key) where U : IComparable<U> { return xs.Aggregate((a, b) => key(a).CompareTo(key(b)) < 0 ? a : b); } public static T MaxBy<T, U>(this IEnumera\u2026","provider_url":"https://hatena.blog","published":"2016-07-23 13:08:28","author_name":"noriok","provider_name":"Hatena Blog","type":"rich","url":"https://noriok.hatenadiary.jp/entry/2016/07/23/130828","title":"MinBy, MaxBy \u3092\u4f5c\u308b","image_url":null,"blog_title":"C#\u7df4\u7fd2\u65e5\u8a18","height":"190","version":"1.0","categories":[],"author_url":"https://blog.hatena.ne.jp/noriok/"}