Esempio n. 1
0
        public static void Main()
        {
            Book b = new Book();
            b.setbname("3 mistakes");
            b.setid("1");
            b.setauthor("Chetan Bhagat");
            b.setprice("100");

            Console.WriteLine("\n---Book---\nname:"+b.getbname()+"\nId:"+b.getid()+"\nAuthor:"+b.getauthor()+"\nPrice:"+b.getprice());
            Console.ReadLine();
        }