<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>baba_s</author_name>
  <author_url>https://blog.hatena.ne.jp/baba_s/</author_url>
  <blog_title>コガネブログ</blog_title>
  <blog_url>https://baba-s.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>C# - 拡張メソッド</anon>
  </categories>
  <description>はじめに 上記サイト様が、リストから組み合わせを取得できる関数を公開されております こちらを少し修正して、配列やリストから組合せを取得できる拡張メソッドを作りました ソースコード using System.Collections.Generic; using System.Linq; public static class IListExt { public static IEnumerable&lt;List&lt;T&gt;&gt; Combination&lt;T&gt;( this IList&lt;T&gt; self, int n ) { return Enumerable.Range( 0, n - 1 ) .Aggregat…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2019%2F12%2F04%2F124000&quot; title=&quot;【C#】配列やリストから組合せを取得できる拡張メソッド - コガネブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180826/20180826160156.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-12-04 12:40:00</published>
  <title>【C#】配列やリストから組合せを取得できる拡張メソッド</title>
  <type>rich</type>
  <url>https://baba-s.hatenablog.com/entry/2019/12/04/124000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
