Example #1
0
 static void Main(string[] args)
 {
     Transaction t1 = new Transaction("001", "8/10/2012", 78900.00);
      Transaction t2 = new Transaction("002", "9/10/2012", 451900.00);
      t1.showTransaction();
      t2.showTransaction();
      Console.ReadKey();
 }
Example #2
0
        static void Main(string[] args)
        {
            Transaction t1 = new Transaction("001", "8/10/2012", 78900.00);
            Transaction t2 = new Transaction("002", "9/10/2012", 451900.00);

            t1.showTransaction();
            t2.showTransaction();
        }
Example #3
0
        static void Main(string[] args)
        {
            Transaction t1 = new Transaction("1", "01/01/2017", 24.00);
            Transaction t2 = new Transaction("2", "02/02/2017", 45.00);

            t1.showTransaction();
            t2.showTransaction();
            Console.ReadKey();
        }
            static void Main(string[] args)
            {
                Transaction t1 = new Transaction("001", "8/10/2018", 7894.00);
                Transaction t2 = new Transaction("002", "10/10/2018", 5048.00);

                t1.showTransaction();
                t2.showTransaction();
                Console.ReadKey();
            }
Example #5
0
        void Main(string[] args)
        {
            Transaction t1 = new Transaction("001", "8/10/2012", 78900);
            Transaction t2 = new Transaction("002", "9/10/2012", 451900);

            t1.showTransaction();
            t2.showTransaction();
            Console.ReadKey();
        }
Example #6
0
        static void Main(string[] args)
        {
            //Two transaction objects are initialized with the parameters passed in
            Transaction t1 = new Transaction("001", "8/10/2012", 78900.00);
            Transaction t2 = new Transaction("002", "9/10/2012", 451900.00);

            //Transaction objects call on the ITransactions interface methods showTransaction but are implemented by the Transaction class
            t1.showTransaction();
            t2.showTransaction();
            Console.ReadKey();
        }