Can you tell me an easy way to make a string from array of string?
I have:
String line = "how are you";
string[] split = line.Split(new Char[] { ' ' }); //{"how", "are", "you"}
How i can make back "String - How are you"? IT IS ONLY EXAMPLE, NOT REALITY :-) Thank you.
Use this:
string.Join(" ", split);
来源:https://stackoverflow.com/questions/26315748/c-sharp-how-do-i-make-string-from-array-of-string