Question. How to implement asynchrony, without resorting to third-party libraries. In 4.5 we have await and async , in 4.0 we have Task Task<T> . In 3.5 we only have BeginInvoke
Interested in the principle of describing an asynchronous method, which in turn will call within itself a number of methods, in the same thread, or in another, and wait for them to complete, with the possibility of obtaining the result of the method, or without ( void method). The example in 4.5 looks like this:
void async DoIt() { ... var a = await AsyncDoItSomething(); ... }
Taskand take it. what do you need for example. - Grundy