{"blog_url":"https://tech.kentem.jp/","provider_url":"https://hatena.blog","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/k/kentem_dev/20241015/20241015090008.png","author_name":"kentem_dev_mukaida","version":"1.0","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.kentem.jp%2Fentry%2F2024%2F10%2F15%2F090000\" title=\"\u3010C#\u3011is\u6f14\u7b97\u5b50\u3063\u3066\u4fbf\u5229 - KENTEM TechBlog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u3053\u3093\u306b\u3061\u306f\u3002\u7686\u3055\u3093\u306fC#\u306b\u304a\u3044\u3066is\u6f14\u7b97\u5b50\u3092\u3069\u306e\u304f\u3089\u3044\u4f7f\u3063\u3066\u3044\u307e\u3059\u304b\uff1f \u5165\u9580\u6642\u306b\u306f\u5909\u6570\u306e\u4e2d\u8eab\u306e\u578b\u30c1\u30a7\u30c3\u30af\u306b\u4f7f\u3046\u65b9\u6cd5\u3092\u7fd2\u3063\u305f\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u5b9f\u306f\u3068\u3063\u3066\u3082\u4fbf\u5229\u306a\u4f7f\u3044\u65b9\u304c\u3042\u308b\u3093\u3067\u3059\u3002 \u4eca\u56de\u306f is \u6f14\u7b97\u5b50\u306e\u4fbf\u5229\u306a\u4f7f\u3044\u65b9\u3092\u3044\u304f\u3064\u304b\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u578b\u30c1\u30a7\u30c3\u30af\u3068\u4ee3\u5165 null \u30c1\u30a7\u30c3\u30af null \u30c1\u30a7\u30c3\u30af\u3068\u4ee3\u5165 \u8ad6\u7406\u30d1\u30bf\u30fc\u30f3 \u30ea\u30b9\u30c8\u30d1\u30bf\u30fc\u30f3 \u307e\u3068\u3081 \u304a\u308f\u308a\u306b \u578b\u30c1\u30a7\u30c3\u30af\u3068\u4ee3\u5165 object? obj = GetValue(); if (obj is string str) { } obj is string \u306e\u6a2a\u306b\u5909\u6570\u540d\u3092\u66f8\u304f\u3068\u578b\u30c1\u30a7\u30c3\u30af\u306e\u7d50\u679c\u304c true \u306a\u3089\u5909\u6570\u306b\u5024\u306e\u4ee3\u5165\u3092\u884c\u3063\u3066\u304f\u308c\u307e\u3059\u3002 null \u30c1\u2026","categories":["\u8a00\u8a9e","\u5b66\u7fd2"],"published":"2024-10-15 09:00:00","provider_name":"Hatena Blog","title":"\u3010C#\u3011is\u6f14\u7b97\u5b50\u3063\u3066\u4fbf\u5229","url":"https://tech.kentem.jp/entry/2024/10/15/090000","width":"100%","author_url":"https://blog.hatena.ne.jp/kentem_dev_mukaida/","blog_title":"KENTEM TechBlog","height":"190"}