<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>megascus</author_name>
  <author_url>https://blog.hatena.ne.jp/megascus/</author_url>
  <blog_title> 水まんじゅう2</blog_title>
  <blog_url>https://megascus.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>仕事でC#を強いられているのでC#について思ったことを飽きるまで書きためてみます。 一回目は拡張メソッド(extention methods)。JavaではStringクラスがfinalで定義されているため、Stringクラスを派生させて新しい機能(method)を持たせることはできません。 Stringクラスには最初からいくつかのメソッドが用意されているのですが、機能としては不十分で、StringUtilsといったUtiltyクラスを作成して使用することが一般的になっています。Utilityクラスのメソッドを見た目上、インスタンスメソッドとして使用することが出来るようになる機能が拡張メソッド…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmegascus.hatenablog.com%2Fentry%2F20130406%2F1365255215&quot; title=&quot;Java使いから見たC#(1) -拡張メソッド- -  水まんじゅう2&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>2013-04-06 22:33:35</published>
  <title>Java使いから見たC#(1) -拡張メソッド-</title>
  <type>rich</type>
  <url>https://megascus.hatenablog.com/entry/20130406/1365255215</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
