static void Main(string[] args)
        {
            var benben = new Account("Benson", -17.50);

            benben.ShowUserNameAndBalance();
            Console.ReadLine();
        }
Exemple #2
0
        static void Main(string[] args)
        {
            Account bil = new Account("Bill", 10000.365);

            Console.WriteLine(bil.ShowUserNameAndBalance());
            Console.Read();
        }
        static void Main(string[] args)
        {
            var benben  = new Account("Benson", 17.5);
            var benben2 = new Account("Benson", -17.25);

            benben.ShowUserNameAndBalance();
            benben2.ShowUserNameAndBalance();

            Console.ReadKey();
        }