{"author_url":"https://blog.hatena.ne.jp/neko3cs/","version":"1.0","height":"190","type":"rich","provider_url":"https://hatena.blog","author_name":"neko3cs","url":"https://blog.neko3cs.net/entry/mistake-of-top-level-statement-with-namespace","provider_name":"Hatena Blog","width":"100%","blog_title":"\u306d\u3053\u3055\u3093\u306e\u3076\u308d\u3050","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.neko3cs.net%2Fentry%2Fmistake-of-top-level-statement-with-namespace\" title=\"C#\u306eTop-Level Statement\u3067\u30cf\u30de\u3063\u305f\u8a71 - \u306d\u3053\u3055\u3093\u306e\u3076\u308d\u3050\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"categories":[".NET","C#","\u5099\u5fd8\u9332"],"published":"2022-05-01 01:19:37","blog_url":"https://blog.neko3cs.net/","title":"C#\u306eTop-Level Statement\u3067\u30cf\u30de\u3063\u305f\u8a71","description":".NET5.0\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092.NET6.0\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3066Top-Level Statement\u3092\u5229\u7528\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u304d\u306b\u8d77\u304d\u305f\u554f\u984c\u3067\u3059\u3002 \u6700\u4e0a\u4f4d\u30ec\u30d9\u30eb\u306e\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u3001\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6700\u5f8c\u306e\u6700\u4e0a\u4f4d\u30ec\u30d9\u30eb\u306e\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u5f8c\u306b\u3001\u540d\u524d\u7a7a\u9593\u3068\u578b\u3092\u542b\u3081\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002 docs.microsoft.com \u3053\u308c\u3081\u3061\u3083\u304f\u3061\u3083\u91cd\u8981\u306a\u6587\u8a00\u3067\u3057\u305f\u304c\u898b\u843d\u3068\u3057\u3001\u30cf\u30de\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002 \u8d77\u304d\u305f\u3053\u3068 .NET5.0\u3067\u4f5c\u6210\u3057\u305f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u304c\u3042\u308a\u307e\u3057\u305f\u3002 using System; namespace MyProject { public static class Pr\u2026"}