<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kuxumarin</author_name>
  <author_url>https://blog.hatena.ne.jp/kuxumarin/</author_url>
  <blog_title>くうと徒然なるままに</blog_title>
  <blog_url>https://kuxumarin.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>やること Class の名前を動的に文字列で取得する やること 環境 やり方 方法1. nameof を利用してクラス名を取得 nameof を利用してクラス名を取得するコード 問題点 問題点を再現したコード Program.cs 出力 方法2. 動的にクラス名を取得する 要点解説 補足 完全修飾名 を取得する方法 アセンブリ修飾も加えて取得する方法 動的にクラス名を取得するコード Program.cs 実行結果 違うネームスペースでも同じクラス名になってしまう件について検証コード Program.cs 実行結果 動的にクラス名を取得するときの懸念点 「補足」 親クラスに関数を持たせるのではな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkuxumarin.hatenablog.com%2Fentry%2F2018%2F01%2F17%2F231204&quot; title=&quot;C# で クラス名を String で取得する方法 - くうと徒然なるままに&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>2018-01-17 23:12:04</published>
  <title>C# で クラス名を String で取得する方法</title>
  <type>rich</type>
  <url>https://kuxumarin.hatenablog.com/entry/2018/01/17/231204</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
