मैं सोच रहा था कि एसिंक्रोनस कोड लिखने का सबसे अच्छा/सही तरीका क्या है जो दो (या अधिक) एसिंक और आश्रित (पहले को निष्पादित करने के लिए समाप्त होना है) ऑपरेशन से बना है।अनुक्रमिक प्रतीक्षा वीएस निरंतरता
async के साथ उदाहरण/का इंतजार है: निरंतरता के साथ
await RunFirstOperationAsync();
await RunSecondOperationAsync();
उदाहरण:
await RunFirstOperationAsync()
.ContinueWith(t => RunSecondOperationAsync());
देखें [यह] (http://stackoverflow.com/questions/8767218/is-async-await-keyword-equivalent-to-a-continuewith-lambda) SO चर्चा –