How can I call this method programmatically?
If I simple do KillZombies(), it says I don’t have the correct parameters, but I don’t know what parameters to specify when I’m just using code…
public static void KillZombies(object source, ElapsedEventArgs e)
{
Zombies.Kill();
}
Have you tried:
Perhaps refactor your design: