<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gsf_zero1</author_name>
  <author_url>https://blog.hatena.ne.jp/gsf_zero1/</author_url>
  <blog_title>いろいろ備忘録日記</blog_title>
  <blog_url>https://devlights.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>Linq</anon>
  </categories>
  <description>今回は、Distinct拡張メソッドについてです。 Distinct拡張メソッドは、SQLでのDISTINCTと同じです。重複するデータを除いてくれます。 重複するデータを除くという処理は、実務ではよくお目にかかる処理です。 今までは、ループして重複するデータを除いたりしていましたが、Distinct拡張メソッドを利用すれば一発で処理できます。 Distinct拡張メソッドの書式は以下の通りです。 public static IEnumerable&lt;TSource&gt; Distinct&lt;TSource&gt;( this IEnumerable&lt;TSource&gt; source ) public sta…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F20100906%2Fp2&quot; title=&quot; Linq入門記-31 (LINQ To Object, Distinct) - いろいろ備忘録日記&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-09-06 00:00:00</published>
  <title> Linq入門記-31 (LINQ To Object, Distinct)</title>
  <type>rich</type>
  <url>https://devlights.hatenablog.com/entry/20100906/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
