I'am exporting some data to a .txt file as follows:

```
String content;
String path=@"e:\coding\";
String name="test.txt";
path+=name;

System.IO.File.Delete(path);

 for (i=0;i<row-1;i++)
 {
     try
     {
         if (r[i].points.Count() > 2)
         {
             content = "Route " + (i + 1).ToString() +"      Truck_id:"+trk[i].truck_name.ToString()+   "       Max_load="+trk[i].capacity.ToString()+ "\n";
             System.IO.File.AppendAllText(path, content + Environment.NewLine);
             System.IO.File.AppendAllText(path, "Points     Load        Reached_AT                         Max_load" + Environment.NewLine);
             System.IO.File.AppendAllText(path, "========================================" + Environment.NewLine);
             for (int j = 0; j < (r[i].points.Count()); j++)
             {
                 content = r[i].points[j].ToString() + "          " + c[r[i].points[j]].load.ToString() +"          "+ r[i].time_list[j].ToString()+"                               "+c[r[i].points[j]].max_load.ToString()+"\n";
                 System.IO.File.AppendAllText(path, content + Environment.NewLine);
             }
             content = "Total     " + r[i].ld.ToString() + "\n";
             System.IO.File.AppendAllText(path, content + Environment.NewLine );
             content = "Route Complete: " + r[i].reach_at.ToString();
             System.IO.File.AppendAllText(path, content + Environment.NewLine+Environment.NewLine);
         }
     }

     catch (IndexOutOfRangeException e)
     {
         break;
     }
 }

```

As expected the output I get is not properly formatted:
The spaces are causing the text to be jumbled and not arranged. My reputation does'nt allow me to post a screenshot but I guess It can be understood what is happening.

Is there way so that the text is properly formatted neatly column wise without looking jumbled.