title: Write Contents in a text file in a tabular order using C#
body: <p>I want to write contents into a text file from a DatagridView in my application. In my text file, I would like to follow a format like </p>
  
  <pre><code>Column1            Column2              Column3
  [Cell1]            [Cell2]              [Cell3]
  [Cell1]            [Cell2]              [Cell3]
  [Cell1]            [Cell2]              [Cell3]
  </code></pre>
  
  <p>and so on in a tabular format. How do I <strong>efficiently</strong> do that as you see I'm bothered about the locations of text as well to bring about a tabular format in a text file (in Notepad). </p>
  
  <p>Should I use char[] but I feel it might not be efficient. 
  Pl guide with an efficient solution.</p>