N
Nikolay Petrov
I have a string array, which I need to save to a file.
The array may grow to thousands of elements.
My question is what is the fastest way to save it as text file?
The StreamWriter accepts String as parameter, but converting the array
to a single string takes a lot of time (by using a For loop and
concatenating the string).
How this can be done faster?
P.S. Every element of string array should be in separate row of the
file. So the CrLf should be added to each element of array.
The array may grow to thousands of elements.
My question is what is the fastest way to save it as text file?
The StreamWriter accepts String as parameter, but converting the array
to a single string takes a lot of time (by using a For loop and
concatenating the string).
How this can be done faster?
P.S. Every element of string array should be in separate row of the
file. So the CrLf should be added to each element of array.