How to center a text in C# in cinsole code example
Example: c# center text
// Console app: center text
Console.WriteLine(String.Format("{0," + Console.WindowWidth / 2 + "}", "TEXT"));
// Console app: center text
Console.WriteLine(String.Format("{0," + Console.WindowWidth / 2 + "}", "TEXT"));