e.g.
for (int i = 0; i < speaker.Length; i++) {
s.WriteLine(speakerAmt[i] + \t + speakerID[i]);
}
I'm trying to get a tab character in-between speakerAmt[i] and speakerID[i]. Do escape characters need to be in " " " " (quotation marks)?
EDIT: Thank you! in less than 50 seconds, I had about 5 answers. I'm impressed!
Do this :
for (int i = 0; i < speaker.Length; i++)
{
s.WriteLine(speakerAmt[i] + "\t" + speakerID[i]);
}
And It's better to do following
for (int i = 0; i < speaker.Length; i++)
{
s.WriteLine(string.Format("{0}\t{1}",speakerAmt[i],speakerID[i]);
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With