{"description":"Generic Method \u5185\u90e8\u3067 null \u6bd4\u8f03\u3092\u884c\u3063\u305f\u3089\u3001\u306f\u305f\u3057\u3066 boxing \u3059\u308b\u3093\u3067\u3057\u3087\u3046\u304b\uff1f \u305f\u3068\u3048\u3070\u4ee5\u4e0b\u307f\u305f\u3044\u306a\u95a2\u6570\u304c\u3042\u3063\u305f\u3068\u3057\u307e\u3059\u3002 // \u53c2\u7167\u578b\u306e null \u3068\u3001Nullable<T> \u306e null \u306e\u6570\u304c\u77e5\u308a\u305f\u3044\u3002 public static int CountNull<T1, T2, T3>(T1? value1, T2? value2, T3? value3) { int count = 0; count += value1 is null ? 1 : 0; count += value2 is null ? 1 : 0; count += value3 is nul\u2026","type":"rich","height":"190","provider_url":"https://hatena.blog","published":"2022-09-05 15:13:27","categories":[".NET","C#",".NET Core",".NET Standard"],"url":"https://blog.neno.dev/entry/2022/09/05/151327","provider_name":"Hatena Blog","author_name":"nenoNaninu","title":"\u3010C#\u3011Generics \u3068 null \u6bd4\u8f03\u3068 boxing\u3002","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.neno.dev%2Fentry%2F2022%2F09%2F05%2F151327\" title=\"\u3010C#\u3011Generics \u3068 null \u6bd4\u8f03\u3068 boxing\u3002 - \u306d\u306e\u306e\u304a\u5ead\u3002\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/nenoNaninu/","image_url":null,"blog_url":"https://blog.neno.dev/","width":"100%","version":"1.0","blog_title":"\u306d\u306e\u306e\u304a\u5ead\u3002"}