string[]words = new string[]{"hello","world"};string concatenated = words.Aggregate((w,n) => w + " " + n);
Returns "hello world"
I much prefer string.join to accomplish this.string.Join(" ", words);
Remember, if you want me to respond to your comment, then you need to use a Google/OpenID account to leave the comment.
I much prefer string.join to accomplish this.
ReplyDeletestring.Join(" ", words);