Beispiel #1
0
        static void Main(string[] args)
        {
            Person jack = new Person("Jack Sparrow");

            jack.SayHello();

            Person jimmy = new Person("Jimmy Neutron");

            jimmy.SayHello();

            Console.WriteLine(Person.bloodColor);            //se manda llamar desde clase Person
            Person.PrintRace();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            Person Jack = new Person("Jack Sparrow");

            Jack.SayHello();

            Person Pedro = new Person("Pedro Juan");

            Pedro.SayHello();

            Console.WriteLine(Person.bloodColor);

            Person.PrintRace();
        }
Beispiel #3
0
        static void Main(string[] args)
        {
            Person Jhoan = new Person("Jhoan Smith");

            Jhoan.SayHello();

            Person Jhoana = new Person("Jhoana Smith");

            Jhoana.SayHello();

            Console.WriteLine(Person.bloodColor);

            Person.PrintRace();
        }
Beispiel #4
0
        static void Main(string[] args)
        {
            Person jackSparrow = new Person("Jack Sparrow");

            jackSparrow.SayHello();

            Person davyJones = new Person("Davy Jones");

            davyJones.SayHello();

            //Console.WriteLine(jackSparrow.bloodColor);
            Console.WriteLine(Person.bloodColor);

            Person.PrintRace();
        }