Hi I have a problem I have this line of code:
return string.Format(\"{0}, {1}, {2}, {3}, {4}, {5}, {6}, {7}, {8}, {9}, {10}, {11}\", Name, CPSA, PostCode, Ra
You can do something like this:
Console.WriteLine(String.Format("{0,-10} | {1,5}", "Bill", 51));
You'll get "51" aligned to right on 5 characters.
More examples here: Align String with Spaces.
For official reference, look Composite Formatting