예제 #1
0
        static void Main(string[] args)
        {
            ICICI ch = new ICICI("ICICI", "Chennai", "RAJ");
            SBI   sb = new SBI("SBI", "hyderabad", "hanvi");

            ch.displaydetails();
            ch.getInterest();
            ch.displayDemat();
            sb.getgoldinterest();
            sb.displaydetails();
            sb.getInterest();
            Console.ReadLine();
        }
예제 #2
0
        static void Main(string[] args)
        {
            ICICI iobj = new ICICI("ICICI 001", "Chennai", "Arun");
            SBI   sobj = new SBI("SBI 003", "Hyderabad", "Jaya");

            iobj.displayDetails();
            iobj.getInterest();
            iobj.getGoldLoan();
            iobj.displayDmat();
            sobj.displayDetails();
            sobj.getInterest();
            sobj.getGoldLoan();
            sobj.displayDmat();
            Console.ReadKey();
        }