<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hanaaaaaachiru</author_name>
  <author_url>https://blog.hatena.ne.jp/hanaaaaaachiru/</author_url>
  <blog_title>はなちるのマイノート</blog_title>
  <blog_url>https://www.hanachiru-blog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>C#</anon>
  </categories>
  <description>はじめに 今回は色んな型の既定値についての記事になります！その前に「既定値ってなんや？」といった疑問が生まれるかもしれません。 かくいう私も少し前まで曖昧でした。簡潔に書くと、既定値は明示的な初期化を怠った時に既定で代入される値のことを指します。例えばint a;やstring s;のように明示的な初期化をしていなかった場合は0やnullといった値が代入されます。これについて様々な型だとどんな値が代入されるのか、実験していきたいと思います！ 予備知識 ややネタバレに近いですが、既定値は0,false,nullのどれかになります。 これは値型か参照型のどちらかであるかが原因です。なぜかというと、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.hanachiru-blog.com%2Fentry%2F2019%2F04%2F05%2F182256&quot; title=&quot;【Unity】色んな型の既定値を調べてみた - はなちるのマイノート&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>2019-04-05 18:22:56</published>
  <title>【Unity】色んな型の既定値を調べてみた</title>
  <type>rich</type>
  <url>https://www.hanachiru-blog.com/entry/2019/04/05/182256</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
