<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>siokoshou</author_name>
  <author_url>https://blog.hatena.ne.jp/siokoshou/</author_url>
  <blog_title>当面C#と.NETな記録</blog_title>
  <blog_url>https://siokoshou.hatenadiary.org/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>新年度なので模様替えしてみました。さて、昨日のQsortにRandを食わせるとどうなるか？軽く見てみます。 TakeをLINQのSequence.csを、RandはNyaRuRuさんのものをちょっといじったものを用意したので、昨日のコードとくっつけると実行できます。昨日のコードも今日のコードも簡単のため、エラーチェックが雑です、ご注意を。一応念のため。10個は多いので2つを取ろうとTake(2)で何度か実行してみると、３つ出てきたり、１つしか出てこなかったりと、めちゃくちゃでした。 原因はすでに書いたとおりQsort()の中で何度もIEnumeratorを取り出したため、Rand()が何度も生…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsiokoshou.hatenadiary.org%2Fentry%2F20070402%2Fp2&quot; title=&quot; Qsort( Rand().Take(10) ) で何が起こったのか？ - 当面C#と.NETな記録&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-04-02 00:00:01</published>
  <title> Qsort( Rand().Take(10) ) で何が起こったのか？</title>
  <type>rich</type>
  <url>https://siokoshou.hatenadiary.org/entry/20070402/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
