{"width":"100%","blog_url":"https://gom.hatenablog.com/","type":"rich","image_url":null,"published":"2008-04-25 16:00:37","title":"string.Format\u306e\u66f8\u5f0f\u6307\u5b9a\u6587\u5b57\u5217\u306b\u4e2d\u30ab\u30c3\u30b3\u3092\u5165\u308c\u308b\u65b9\u6cd5","provider_name":"Hatena Blog","description":"C#/VB.NET\u3067\u306f\u3001string.Format\u306b\u3088\u3063\u3066\u3001\u66f8\u5f0f\u6307\u5b9a\u304c\u3067\u304d\u308b\u3002 int i = 3; string.Format(\"foo{0}bar\", i); //=>\"foo3bar\" \u3053\u306e\u66f8\u5f0f\u6307\u5b9a\u6587\u5b57\u5217\u306b\u4e2d\u30ab\u30c3\u30b3{}\u3092\u6df7\u305c\u305f\u3044\u5834\u5408\u306f\u3069\u3046\u3059\u308b\u304b\uff1f 2\u91cd\u306b\u8a18\u8ff0\u3057\u3066\u3042\u3052\u308b\u3068\u3088\u3044\u3002 int i = 3; string.Format(\"{{foo{0}bar}}\", i); //=>\"{foo3bar}\"","height":"190","author_url":"https://blog.hatena.ne.jp/gom68/","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgom.hatenablog.com%2Fentry%2F20080425%2F1209106837\" title=\"string.Format\u306e\u66f8\u5f0f\u6307\u5b9a\u6587\u5b57\u5217\u306b\u4e2d\u30ab\u30c3\u30b3\u3092\u5165\u308c\u308b\u65b9\u6cd5 - gom68\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["C#",".NET"],"version":"1.0","url":"https://gom.hatenablog.com/entry/20080425/1209106837","author_name":"gom68","blog_title":"gom68\u306e\u65e5\u8a18"}