change new string to string.concat()

This commit is contained in:
弘韬 张 2020-10-17 14:17:53 +08:00
parent 3454dc6d74
commit d17621cd2e

View file

@ -56,7 +56,7 @@ namespace Flow.Launcher.Infrastructure
private string GetFirstPinyinChar(string content)
{
return new string(content.Split(";").Select(c => c.First()).ToArray());
return string.Concat(content.Split(';').Select(x => x.First()));
}
}
}