String.Join performance issue in C#
问题 I've been researching a question that was presented to me: How to write a function that takes a string as input and returns a string with spaces between the characters. The function is to be written to optimize performance when it is called thousands of times per second. I know that .net has a function called String.Join , to which I may pass in the space character as a separator along with the original string. Barring the use of String.Join , I can use the StringBuilder class to append