private void TestMethod(string msg) { Console.WriteLine(msg + " Should Run"); safeEvent -= TestMethod2; }
public SafeEventExample() { safeEvent += TestMethod; safeEvent += TestMethod2; safeEvent.Invoke("Test"); }