static void Main(string[] args) { delegado d = new delegado(resultado); Contador c = new Contador(); c.Count(d); }
static void Main(string[] args) { Contador t = new Contador(); //t.Count(new EventHandler(resultado)); t.Count(resultado); }