This is what it is: you did not provide method called
CMyClassWithStaticCallback
.
Forget it, it does not matter! Your syntax is so obsolete! Consider this:
FooCallbackType myDelegate = delegate(int a, int b, int c) {
};
myDelegate = new FooCallbackType((int a, int b, int c) => {
});
Also, your
Main
may not compile you have another
Main
. This is because this is used as an entry point, most likely. To change the entry point, see you project's Property, Application tab, "Startup object".
—SA