在C#中“回程等待”的目的是什么?
public async Task<SomeResult> DoSomethingAsync(){
// Some synchronous code might or might not be here... //
return await DoAnotherThingAsync();}public Task<SomeResult> DoSomethingAsync(){
// Some synchronous code might or might not be here... //
return DoAnotherThingAsync();}return awaitTask<T>DoAnotherThingAsync()
return awaitawait
qq_笑_17
波斯汪
肥皂起泡泡
跃然一笑
随时随地看视频慕课网APP