Beispiel #1
0
        static void Main(string[] args)
        {
            ActorDeVoz marioCastaneda = new ActorDeVoz();

            marioCastaneda.TipoDeVoz = "Goku";
            Console.WriteLine(marioCastaneda.TipoDeVoz);
            Actor actor = new Actor();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            ActorDeVoz act = new ActorDeVoz();

            act.TipoDeVoz = "goku";
            ActorDeVoz act1 = new ActorDeVoz();

            Console.WriteLine(act1);
            ActorDeVoz act2 = new ActorDeVoz("Mario", "Triller", "Aguda");

            Console.WriteLine(act2);
        }