Пример #1
0
        static void Main(string[] args)
        {
            //      Q3. Create a class customer having member Id, name, billamount.
            //      When you create a object allow to have default vale. Print default value of id,name, billamount.
            customer customer1 = new customer();

            customer1.display();
            customer customer2 = new customer(1, "Pappa", 12635.0);

            customer2.display();
        }
Пример #2
0
        static void Main(string[] args)
        {
            customer c = new customer(1, "Vaibhav", 1000);

            c.display();
        }