Basically I want to print the contents of a list in the console in a formatted manner like so:

![expected output](https://i.stack.imgur.com/shKPI.jpg)

However what i currently have:

```
Console.WriteLine("\nHistory |  B W");
Console.WriteLine("================");

List.AddRange(array1);
List.Add(array2);
List.Add(array3);

foreach (int i in List)
 {
   Console.Write(i);
 }

```

Prints it like this: 

![actual output](https://i.stack.imgur.com/q5i0b.jpg)

Any help would be greatly appreciated.