コード例 #1
0
        static void Main(string[] args)
        {
            Felinae ChristianTheLion = new Felinae();

            //ChristianTheLion.Name = "Christian";
            //ChristianTheLion.Species = "Lion";

            //ChristianTheLion.TakePicture();

            //Felinae.TakePicture(ChristianTheLion);

            //ChristianTheLion.Run(1);

            Salesman Sasho = new Salesman("Sasho", new DateTime(2011, 6, 10), 503, "Senior janitor", 3, 0);

            Sasho.Info();
            Console.WriteLine(DateTime.Now);
            Console.ReadLine();
        }
コード例 #2
0
 public static void TakePicture(Felinae feline)
 {
     Console.WriteLine("Static Picture of " + feline.Name + " has been taken.");
 }