public void Doit (object toObj) > { > Timer t = toObj as Timer; > if (t != null) > { > if (t.Enabled && t.Interval > 0) > { > t.Enabled = false; > t.Interval = 0; > } > } > }I'd do a bit more type checking in the first one if it was for production - but even as it stands it is safer than the VFP version....