{"author_url":"https://blog.hatena.ne.jp/rksoftware/","categories":["C#"],"width":"100%","title":"C# 12 \u306e\u65b0\u6a5f\u80fd\u306e\u78ba\u8a8d \u300c \u30d7\u30e9\u30a4\u30de\u30ea \u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u30fc \u300d","author_name":"rksoftware","image_url":null,"blog_url":"https://rksoftware.hatenablog.com/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","type":"rich","url":"https://rksoftware.hatenablog.com/entry/2023/09/11/040000","height":"190","blog_title":"rksoftware","version":"1.0","published":"2023-09-11 04:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frksoftware.hatenablog.com%2Fentry%2F2023%2F09%2F11%2F040000\" title=\"C# 12 \u306e\u65b0\u6a5f\u80fd\u306e\u78ba\u8a8d \u300c \u30d7\u30e9\u30a4\u30de\u30ea \u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u30fc \u300d - rksoftware\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u305d\u308d\u305d\u308d C# 12 \u306e\u6642\u671f\u306a\u306e\u3067\u4e88\u7fd2\u3092\u59cb\u3081\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002 \u4eca\u56de\u306f \u300c \u30d7\u30e9\u30a4\u30de\u30ea \u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u30fc \u300d \u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002 \u25a0 \u30d7\u30e9\u30a4\u30de\u30ea \u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u30fc learn.microsoft.com \u30af\u30e9\u30b9\u306e\u578b\u540d\u306e\u5f8c\u308d\u306b\u5f15\u6570\u3092\u66f8\u304f\u3068\u305d\u306e\u5f15\u6570\u3092\u3082\u3064\u30d7\u30e9\u30a4\u30de\u30ea\u306a\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u30fc\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002 \u4ee5\u524d\u304b\u3089 record \u3067\u4f7f\u3048\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u666e\u901a\u306e class \u3067\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u5c11\u3057\u6319\u52d5\u304c\u9055\u3044\u307e\u3059\u3002 Console.WriteLine(new Test(\"saitama1\").Name); // \u3053\u3046\u3044\u3046\u98a8\u306b\u4f7f\u3048\u308b // Console.WriteLine(new Test().Name);\u2026"}