Example #1
0
        public void AppMain()
        {
            Naruto naruto = new Naruto();

            Console.WriteLine(naruto.isRoot);
            Console.WriteLine();
            var narutoDoppelganger = naruto.doppelganger();

            Console.WriteLine(naruto.isRoot);
            Console.WriteLine(narutoDoppelganger.isRoot);
        }
Example #2
0
        static void Main(string[] args)
        {
            IAnime ianime;


            ianime = new OnePiece();
            ianime.Cartoon();

            Console.WriteLine();
            ianime = new Naruto();
            ianime.Cartoon();
            Console.ReadKey();
        }