<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fezg00</author_name>
  <author_url>https://blog.hatena.ne.jp/fezg00/</author_url>
  <blog_title>Memo+</blog_title>
  <blog_url>https://fezg00.hatenadiary.org/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>Sample</anon>
  </categories>
  <description>newとかあまり使いたくはないんだけど。すべてをラップするのはめんどいんで。 public class LimitedList&lt;T&gt; : List&lt;T&gt; { private int _maxItemCount; public int MaxItemCount { get { return _maxItemCount; } set { _maxItemCount = value; if ( Count &gt; _maxItemCount ) { RemoveRange( 0, Count - MaxItemCount ); } } } public new void Add( T item ) { …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffezg00.hatenadiary.org%2Fentry%2F20111021%2F1319167298&quot; title=&quot;最大数以上のアイテムを追加すると古いものから削除されるリスト - Memo+&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>2011-10-21 12:21:38</published>
  <title>最大数以上のアイテムを追加すると古いものから削除されるリスト</title>
  <type>rich</type>
  <url>https://fezg00.hatenadiary.org/entry/20111021/1319167298</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
