This gives me a compiler error:
public static delegate void SomeCoolDelegate();
Why?
That has no meaning for a delegate; I mean, semantically, it's like saying I never want an implementation of this method signature!
You could declare an implementation as static...
protected static SomeCoolDelegate SomeMethod { get; set; }
When you mark a class as static, you're saying you never want it instantiated. A delegate is simply a way of identifying a method signature.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With