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