From c19185ac4e03de24709e19001c2f2ade066176a7 Mon Sep 17 00:00:00 2001 From: walon Date: Sat, 23 Nov 2024 19:47:33 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E4=BF=AE=E5=A4=8DStringUtils.Collectio?= =?UTF-8?q?nToString=E5=AF=B9Dictionary=E7=B1=BB=E5=9E=8B=E6=8B=BC?= =?UTF-8?q?=E6=8E=A5=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/StringUtil.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Runtime/StringUtil.cs b/Runtime/StringUtil.cs index 0648ffc..a1e9582 100644 --- a/Runtime/StringUtil.cs +++ b/Runtime/StringUtil.cs @@ -39,7 +39,8 @@ namespace Luban public static string CollectionToString(IDictionary dic) { - var sb = new StringBuilder('{'); + var sb = new StringBuilder(); + sb.Append('{'); foreach (var e in dic) { sb.Append(e.Key).Append(':');