Horje
Align String with Spaces [C#] Code Example
Align String with Spaces [C#]
Console.WriteLine("-------------------------------");
Console.WriteLine("First Name | Last Name  |   Age");
Console.WriteLine("-------------------------------");
Console.WriteLine(String.Format("{0,-10} | {1,-10} | {2,5}", "Bill", "Gates", 51));
Console.WriteLine(String.Format("{0,-10} | {1,-10} | {2,5}", "Edna", "Parker", 114));
Console.WriteLine(String.Format("{0,-10} | {1,-10} | {2,5}", "Johnny", "Depp", 44));
Console.WriteLine("-------------------------------");




Csharp

Related
how to coppy a portion of an array in c# Code Example how to coppy a portion of an array in c# Code Example
get all the file from directory except txt in c# Code Example get all the file from directory except txt in c# Code Example
unity ihandler click right button Code Example unity ihandler click right button Code Example
nunjucks if variable exists Code Example nunjucks if variable exists Code Example
optional parameter get request c# Code Example optional parameter get request c# Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10