Is there a way to use string.Join to create a tab-delimited string and output that into a file?
I'm doing this:
string.Join(@"\t", array);
But in my file (I've tried .txt and .csv), the results are as such:
one\ttwo\tthree\tfour\tfive
I assume it's because the delimiter isn't a standard one-character delimiter because it works perfectly fine using pipes or commas.
I know there are many other ways this can be done but I was hoping to create a one-size-fits-all solution using string.Join which may just not be possible.
Thanks!