<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Csh</author_name>
  <author_url>https://blog.hatena.ne.jp/Csh/</author_url>
  <blog_title>C#にハマってみる日記</blog_title>
  <blog_url>https://csh-2.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>ForEachメソッドのbreak問題 foreach文よりも、ForEachメソッドのほうが高速だが、breakがうまく機能しないという問題がある。 列挙して処理してる途中でbreakしたくても、breakはforeach/whileのようなループの中でしか機能しないから。 しかし、これはさほど問題にならない。 繰り返しメソッドには、ForEachだけでなく、Find, FindIndex, FindAllメソッドもある。 Findメソッド このうちFindメソッドを考えてみよう。 Findメソッドの第二引数に渡すメソッドは、ForEachメソッドのようにAction(戻り値がvoid)では…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcsh-2.hatenadiary.org%2Fentry%2F20100328%2F1269792409&quot; title=&quot;『究極のC#プログラミング』 Chapter4 Findメソッド - 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-03-28 01:06:49</published>
  <title>『究極のC#プログラミング』 Chapter4 Findメソッド</title>
  <type>rich</type>
  <url>https://csh-2.hatenadiary.org/entry/20100328/1269792409</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
