delegate void DelegateTest(); DelegateTest delTest;
Whats the difference between calling delTest.Invoke() and delTest()? Both would execute the delegate on the current thread, right?
delTest.Invoke()
delTest()
The delTest() form is a compiler helper, underneath it is really a call to Invoke().
Invoke()
2.1m questions
2.1m answers
60 comments
57.0k users