Do event handlers have to be static?
Posted: Wed Dec 23, 2020 2:51 pm
In the code examples provided the event handlers are declared as static.
Since I am quite new to C# this proves to be an issue for me, having to reference non-static methods or variables from the event handler method.
So, do event handlers have to be static?
/Mikael
Since I am quite new to C# this proves to be an issue for me, having to reference non-static methods or variables from the event handler method.
So, do event handlers have to be static?
/Mikael