Skip to content

Instantly share code, notes, and snippets.

@chaliy
Created March 15, 2011 17:34
Show Gist options
  • Save chaliy/871098 to your computer and use it in GitHub Desktop.
Save chaliy/871098 to your computer and use it in GitHub Desktop.
public Task<string> Task1(){
return TaskEx.Start(() => "abc").
ContinueWithTask(t => Task2(t.Result)); // <-- Question is here
}
public Task<string> Task2(string input){
}
public void Usage(){
var task1 = Task1();
Console.WriteLine(task1.Result);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment