I was wondering what is the best/correct way of writing asynchronous code that is composed of two (or more) async and dependent (the first have to finish to execute second) operations.
Example with async/await:
await RunFirstOperationAsync();
await RunSecondOperationAsync();
Example with Continuation:
await RunFirstOperationAsync()
.ContinueWith(t => RunSecondOperationAsync());