<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nagakura_eil</author_name>
  <author_url>https://blog.hatena.ne.jp/nagakura_eil/</author_url>
  <blog_title>だらだらやるよ。</blog_title>
  <blog_url>https://nagakura-eil.hatenadiary.org/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>.NET</anon>
  </categories>
  <description>値型とか構造体にNullが使用できるようになりました。 よく使うことになると思うのはint,bool,DateTimeといったところでしょうか で、使い方 int? test1 = null; Nullable&lt;int&gt; test2 = 43; これだけ、簡単ですね:-) 「型名?」はNullableの参照らしいので、どちらでもお好みでどうぞってな具合です あ、の記述については下のジェネリックを参照してください もちろん普通の値型との変換も可能で、こんな感じで int test3 = test1.HasValue ? test1.Value : -1; また、値方に限らないのですが、nullの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnagakura-eil.hatenadiary.org%2Fentry%2F20070903%2F1188826799&quot; title=&quot;Null許容型 - だらだらやるよ。&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>2007-09-03 22:39:59</published>
  <title>Null許容型</title>
  <type>rich</type>
  <url>https://nagakura-eil.hatenadiary.org/entry/20070903/1188826799</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
