<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bookreadkun</author_name>
  <author_url>https://blog.hatena.ne.jp/bookreadkun/</author_url>
  <blog_title>おーみんブログ</blog_title>
  <blog_url>https://oooomincrypto.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>はじめに C#8.0からインターフェースでもメソッドの実装が出来るようになったことを知ったので実際に試してみました。 明示的なインターフェイスの実装 - C# プログラミング ガイド | Microsoft Docs サンプルコード 実際にインターフェースでメソッドの実装をしてみましょう。 継承先で実装をしない場合 インターフェースを継承のみしたクラスで型定義を行うとコンパイルエラーになりますが、インターフェースの型で定義を行った場合はコンパイルが通ります。 class Program { static void Main(string[] args) { Sample sample = ne…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foooomincrypto.hatenadiary.jp%2Fentry%2F2022%2F09%2F11%2F192536&quot; title=&quot;C#8.0からインターフェースでメソッドの実装ができるようなので試してみた。 - おーみんブログ&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>2022-09-11 19:25:36</published>
  <title>C#8.0からインターフェースでメソッドの実装ができるようなので試してみた。</title>
  <type>rich</type>
  <url>https://oooomincrypto.hatenadiary.jp/entry/2022/09/11/192536</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
