P
Piero
Hi, i have a string array, how can i convert it to a string?
Piero said:Hi, i have a string array, how can i convert it to a string?
For example:
string[] foo = {"abc","def","ghi"};
string s1 = string.Concat(foo);
string s2 = string.Join(" ", foo);
Marc
Where are you looking at this? The IDE tool-tip displays it with
escape symbols. Try Console.WriteLine(s1) - it might actually be
right.
Marc
Piero said:i look this when i create a txt file. if i try with console.writeline
it's right!
but i must create an output file...
concatenates a backshals and quotes