private static void DoTest() {
    for (int i = 0; i < 10000; ++i) {
        SomeEvent += new Action(DoSomething);
        SomeEvent -= new Action(DoSomething);
    }
}