delegatebegininvoke
September 14, 2025 ยท View on GitHub
Shows how to use xtd::delegate::begin_invoke, xtd::delegate::end_invoke and xtd::delegate::invoke methods.
Sources
Build and run
Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:
xtdc run
Output
(Thread 1) Hello xtd!
return = 42
(Thread 4) Hello Gammasoft!
return = 24