Exemple #1
0
        static void Main(string[] args)
        {
            var money = new Money.Money(100);

            Console.WriteLine(money.GetMoney());
            var credit = new CreditCard.CreditCard(500);

            Console.WriteLine(credit.GetSumCreditCard());
        }
Exemple #2
0
        static void Main(string[] args)
        {
            var money = new Money.Money(100);

            Console.WriteLine(money.GetMoney());
            var credit = new CreditCard.CreditCard(500);

            Console.WriteLine(credit.GetSumCreditCard());
            var bcard = new BusinessCard.BusinessCard("Iowlit");

            Console.WriteLine(bcard.FindOutWhose());
        }
Exemple #3
0
        static void Main(string[] args)
        {
            var money = new Money.Money(100);

            Console.WriteLine(money.GetMoney());
        }