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

            dog.Lay();
            dog.SayHi();
        }
예제 #2
0
        private static void Main(string[] args)
        {
            Dogs dog = new Dogs();

            dog.Attack();
            dog.SayHi();
            dog.Run();
        }
예제 #3
0
        static void Main(string[] args)
        {
            Console.WriteLine("Interfaces!");

            Dogs dog = new Dogs();

            dog.Rollover();
            dog.SayHi();
            dog.Run();
        }