public static void Main()
StringBuilder msgText = new StringBuilder();
var userName = "Jeff Codes";
var email = "jeff.codes@email.com";
var phone = "800.555.1234";
var contactMethod = "email";
var oemPartNumber = "123";
msgText.AppendLine( normalize(" Name", userName ) );
msgText.AppendLine( normalize(" Email", email ) );
msgText.AppendLine( normalize(" Phone", phone ) );
msgText.AppendLine( normalize(" Contact Method", contactMethod ) );
msgText.AppendLine( normalize(" Oem Part Code", oemPartNumber ) );
Console.WriteLine(msgText.ToString());
public static string normalize(string label, string data)
StringBuilder sb = new StringBuilder();
string formated = "{0, -30}{1}";
string newData = String.Format( ": {0}", data );
return String.Format(formated, label, newData);