예제 #1
0
        static void Main(string[] args)
        {
            BOOK LOTR = new BOOK();

            LOTR.SetTitlez("idiot");
            LOTR.VlastnostPagesz(666);
            LOTR.SetCategorz("Balalajka");
            LOTR.SetAuthorz("Janči");
            LOTR.VlastnostReleaseDatez(564156);
            LOTR.Hiolp();
        }
예제 #2
0
        static void Main(string[] args)
        {
            BOOK LOTR = new BOOK();

            LOTR.Title       = ("Milujem Hansa");
            LOTR.Pages       = (88);
            LOTR.Category    = ("Bullshit");
            LOTR.Author      = ("Komrad Boris");
            LOTR.ReleaseDate = (1942);
            Console.WriteLine("The book title is " + LOTR.Title + "and it has " + LOTR.Pages + " pages. It is " + LOTR.Category + " from " + LOTR.Author + " who wrote it in  " + LOTR.ReleaseDate + ". It is bullshit!");
        }
예제 #3
0
        static void Main(string[] args)
        {
            BOOK LOTR = new BOOK();

            LOTR.SetBook("idiot", 1);
        }