Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            //i should proboly add names, if i get around to it
            human ruven = new human();
            human guy   = new human();

            ruven.sayhito(guy);
            guy.eat(new cow());
            Console.ReadKey();
        }
Ejemplo n.º 2
0
 public void sayhito(human person)
 {
     Console.WriteLine(Name + " is saying hi to " + person.Name);
 }