{"provider_url":"https://hatena.blog","published":"2007-09-03 22:39:59","author_name":"nagakura_eil","blog_url":"https://nagakura-eil.hatenadiary.org/","height":"190","type":"rich","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/nagakura_eil/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnagakura-eil.hatenadiary.org%2Fentry%2F20070903%2F1188826799\" title=\"Null\u8a31\u5bb9\u578b - \u3060\u3089\u3060\u3089\u3084\u308b\u3088\u3002\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u5024\u578b\u3068\u304b\u69cb\u9020\u4f53\u306bNull\u304c\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u3088\u304f\u4f7f\u3046\u3053\u3068\u306b\u306a\u308b\u3068\u601d\u3046\u306e\u306fint,bool,DateTime\u3068\u3044\u3063\u305f\u3068\u3053\u308d\u3067\u3057\u3087\u3046\u304b \u3067\u3001\u4f7f\u3044\u65b9 int? test1 = null; Nullable<int> test2 = 43; \u3053\u308c\u3060\u3051\u3001\u7c21\u5358\u3067\u3059\u306d:-) \u300c\u578b\u540d?\u300d\u306fNullable\u306e\u53c2\u7167\u3089\u3057\u3044\u306e\u3067\u3001\u3069\u3061\u3089\u3067\u3082\u304a\u597d\u307f\u3067\u3069\u3046\u305e\u3063\u3066\u306a\u5177\u5408\u3067\u3059 \u3042\u3001\u306e\u8a18\u8ff0\u306b\u3064\u3044\u3066\u306f\u4e0b\u306e\u30b8\u30a7\u30cd\u30ea\u30c3\u30af\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044 \u3082\u3061\u308d\u3093\u666e\u901a\u306e\u5024\u578b\u3068\u306e\u5909\u63db\u3082\u53ef\u80fd\u3067\u3001\u3053\u3093\u306a\u611f\u3058\u3067 int test3 = test1.HasValue ? test1.Value : -1; \u307e\u305f\u3001\u5024\u65b9\u306b\u9650\u3089\u306a\u3044\u306e\u3067\u3059\u304c\u3001null\u306e\u2026","blog_title":"\u3060\u3089\u3060\u3089\u3084\u308b\u3088\u3002","categories":["C#",".NET"],"url":"https://nagakura-eil.hatenadiary.org/entry/20070903/1188826799","width":"100%","version":"1.0","title":"Null\u8a31\u5bb9\u578b","image_url":null}