<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Takachan</author_name>
  <author_url>https://blog.hatena.ne.jp/Takachan/</author_url>
  <blog_title>PG日誌</blog_title>
  <blog_url>https://takap-tech.com/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>ジェネリックは便利だ。特に.netの提供するSystem.Collections.Generic名前空間にあるListクラスやDictionaryクラスは課題を解決するために大いに役立つ。しかしその利便性に惑わされ実装時の設計判断を誤るケースを最近になりかなり目にした。以下のコードがそうだ。 public List&lt;string&gt; GetMembers() { ... } このコードはシステムに登録されている利用者の名前を取得するメソッドである。このコードには問題点がいくつも存在する。 利用者はこの受け取った配列を自由に増減させることが可能なのか。 Listにアクセスする際に何かルールが追加さ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakap-tech.com%2Fentry%2F2014%2F08%2F06%2F153435&quot; title=&quot;c#のジェネリック - PG日誌&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>2014-08-06 15:34:35</published>
  <title>c#のジェネリック</title>
  <type>rich</type>
  <url>https://takap-tech.com/entry/2014/08/06/153435</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
