public static void Main()
var account = new Account()
ReportLine("Debits", account.Debits);
ReportLine("Credits", account.Credits);
ReportLine("Fees", account.Fees);
ReportLine("Balance", account.Balance);
static string FormatAmount(int value)
var result = value.ToString("D10");
static void PrintLine(string label, string value)
Console.WriteLine("{0}{1}", label.PadRight(10), value);
static void ReportLine(string label, int value)
PrintLine(label + ":", FormatAmount(value));
public int Debits { get; set; }
public int Credits { get; set; }
public int Fees { get; set; }
public int Balance { get; set; }