yes you need to runin full compile mode. It will not work in f5 i.e. debug mode.
dnfvideo 4 months ago
do you have video on how events handling works in .net?
khunshan 5 months ago
It works as you mentioned when i set the app to "Release" mode and press CTRL + F5.
But when i just press F5, it does work well without "Volatile" keyword. Any thoughts on this?
kbalajiirtt 5 months ago
I tried it by myself and it worked without the 'volatile' keyword. how come the same code behaves differently? I compiled it as .net 2.0 and 3.5 - same result.
mail4junkil 5 months ago
Comment removed
yes you need to runin full compile mode. It will not work in f5 i.e. debug mode.
dnfvideo 4 months ago
do you have video on how events handling works in .net?
khunshan 5 months ago
It works as you mentioned when i set the app to "Release" mode and press CTRL + F5.
But when i just press F5, it does work well without "Volatile" keyword. Any thoughts on this?
kbalajiirtt 5 months ago
I tried it by myself and it worked without the 'volatile' keyword. how come the same code behaves differently? I compiled it as .net 2.0 and 3.5 - same result.
mail4junkil 5 months ago
Comment removed
mail4junkil 5 months ago