<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hacchi_man</author_name>
  <author_url>https://blog.hatena.ne.jp/hacchi_man/</author_url>
  <blog_title>うにてぃブログ</blog_title>
  <blog_url>https://hacchi-man.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>GUID</anon>
  </categories>
  <description>LINQ を使わずに配列をシャッフルする方法を以前紹介したが 今回はLINQ を利用した配列をシャッフル方法を記述する 【C#】配列をシャッフルしたり、ランダムに取得する - うにてぃブログ Guid C# には GUID を生成するために Guid 構造体が存在する Guid 構造体 (System) | Microsoft Docs この構造体の Guid.NewGuid() を呼び出すことでユニークなIDが生成されるのでこれを利用する var list = Enumerable.Range(0, 20) .Select(i =&gt; i) .OrderBy(i =&gt; Guid.NewGuid…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhacchi-man.hatenablog.com%2Fentry%2F2020%2F05%2F15%2F220000&quot; title=&quot;【C#】List をシャッフルする【LINQ】 - うにてぃブログ&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/h/hacchi_man/20200508/20200508003440.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-15 22:00:00</published>
  <title>【C#】List をシャッフルする【LINQ】</title>
  <type>rich</type>
  <url>https://hacchi-man.hatenablog.com/entry/2020/05/15/220000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
