Skip to content

Commit d17621c

Browse files
committed
change new string to string.concat()
1 parent 3454dc6 commit d17621c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher.Infrastructure/Alphabet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public string Translate(string content)
5656

5757
private string GetFirstPinyinChar(string content)
5858
{
59-
return new string(content.Split(";").Select(c => c.First()).ToArray());
59+
return string.Concat(content.Split(';').Select(x => x.First()));
6060
}
6161
}
6262
}

0 commit comments

Comments
 (0)