{"height":"190","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2019%2F09%2F12%2F084000\" title=\"\u3010C#\u3011ValueTuple \u3092\u4f7f\u7528\u3057\u3066\u914d\u5217\u3084\u30ea\u30b9\u30c8\u306e foreach \u3067\u7c21\u5358\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u53d6\u5f97\u3067\u304d\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>","provider_name":"Hatena Blog","version":"1.0","author_url":"https://blog.hatena.ne.jp/baba_s/","provider_url":"https://hatena.blog","blog_url":"https://baba-s.hatenablog.com/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180826/20180826160156.png","published":"2019-09-12 08:40:00","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","width":"100%","author_name":"baba_s","title":"\u3010C#\u3011ValueTuple \u3092\u4f7f\u7528\u3057\u3066\u914d\u5217\u3084\u30ea\u30b9\u30c8\u306e foreach \u3067\u7c21\u5358\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u53d6\u5f97\u3067\u304d\u308b\u62e1\u5f35\u30e1\u30bd\u30c3\u30c9","categories":["C#","C# - \u62e1\u5f35\u30e1\u30bd\u30c3\u30c9","C# - ValueTuple","\u305d\u306e\u4ed6 - \u304a\u6c17\u306b\u5165\u308a"],"url":"https://baba-s.hatenablog.com/entry/2019/09/12/084000","description":"\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 using System; using System.Collections.Generic; public static class IEnumerableExt { public static IEnumerable<(int index, T value)> WithIndex<T> ( this IEnumerable<T> source ) { if ( source == null ) { throw new ArgumentNullException( nameof( source ) ); } IEnumerable<(int index, T value)> I\u2026"}