char buffer[4096]; // adjust buffer[0]='\0'; for(int i=0;i<array_size;i++){ strcat(buffer,string_array[i]); }
You can implement a two pass system as well, the first pass can determine how big the buffer must be.
I want to provide constructive criticism to say why you are getting downvotes, because it is frustrating to receive a negative reputation with out explanation.
That is the wrong language; there is no strcat() that I'm aware of in C#, and character arrays are not what is being used. That's also one of the least efficient ways to concatenate a collection of strings, due to having to count the length of the buffer each time you concatenate the string, which takes longer and longer.
Thank you. I didn't see the C# icon until just now.

Find content
Not Telling