{"url":"https://bleis-tift.hatenablog.com/entry/20081203/1228313746","categories":["C#"],"height":"190","author_url":"https://blog.hatena.ne.jp/bleis-tift/","title":"C# Coding Guidelines","published":"2008-12-03 23:15:46","author_name":"bleis-tift","type":"rich","provider_name":"Hatena Blog","blog_title":"\u3050\u308b\u3050\u308b\uff5e","image_url":null,"width":"100%","provider_url":"https://hatena.blog","blog_url":"https://bleis-tift.hatenablog.com/","description":"C# Coding Guidelines and Best Practices C#\u306f\u307b\u3068\u3093\u3069\u4f7f\u3063\u3066\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3\u306f\u3069\u3093\u306a\u611f\u3058\u306a\u3093\u3067\u3057\u3087\u304b\u3002 \u3068\u304d\u3069\u304d\u306e\u96d1\u8a18\u5e16 \u3066\u3053\u3068\u3067\u3061\u3087\u3063\u3068\u898b\u3066\u307f\u305f\u3002 \u5c11\u306a\u304f\u3068\u3082\u3001\u3053\u3053\u306e\u3084\u3064\u3088\u308a\u3082\u9065\u304b\u306b\u3044\u3044\u3002 \u305f\u3060\u3001 String comparison involves unnecessary overhead. If all you need is to check whether the string is empty, use the Length property. Code snippets: //NO if ( str != \"\")/\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbleis-tift.hatenablog.com%2Fentry%2F20081203%2F1228313746\" title=\"C# Coding Guidelines - \u3050\u308b\u3050\u308b\uff5e\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0"}