{"categories":["C#"],"published":"2023-01-29 08:34:55","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2023%2F01%2F29%2F083455\" title=\"C#11 \u914d\u5217\u306e\u5165\u3063\u305fobject\u578b\u3092string.Join\u3067\u7d50\u5408\u3059\u308b - potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","width":"100%","title":"C#11 \u914d\u5217\u306e\u5165\u3063\u305fobject\u578b\u3092string.Join\u3067\u7d50\u5408\u3059\u308b","author_name":"potisan","version":"1.0","image_url":null,"provider_url":"https://hatena.blog","blog_url":"https://potisan-programming-memo.hatenablog.jp/","author_url":"https://blog.hatena.ne.jp/potisan/","url":"https://potisan-programming-memo.hatenablog.jp/entry/2023/01/29/083455","blog_title":"potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2","provider_name":"Hatena Blog","description":"\u914d\u5217\u306e\u5165\u3063\u305fobject\u578b\u3092string.Join()\u3067\u7d50\u5408\u3059\u308b\u306b\u306fIEnumerable\u306b\u30ad\u30e3\u30b9\u30c8\u3057\u3066\u304b\u3089OfType<T>()\u3092\u4f7f\u3044\u307e\u3059\u3002\u30ad\u30e3\u30b9\u30c8\u305b\u305a\u6e21\u3059\u3068\u53ef\u5909\u9577\u5f15\u6570\u306e\u6700\u521d\u306e\u5f15\u6570\u3068\u3057\u3066\u7d20\u76f4\u306bToString()\u3055\u308c\u307e\u3059\u3002\u3061\u306a\u307f\u306bIEnumerable\u3078\u30ad\u30e3\u30b9\u30c8\u3059\u308b\u3068\u6587\u5b57\u5217\uff08char[]\u914d\u5217\uff09\u3082\u5206\u5272\u3055\u308c\u308b\u306e\u3067\u9069\u5b9cx.GetType().IsArray\u3067\u5206\u5c90\u3057\u307e\u3059\u3002 // global using\u6709\u52b9\u6642 using System.Collections; object o = new int[5]; Console.WriteLine(string.Join(\", \", o)); Consol\u2026","type":"rich"}