Explained below in the code snippet, I can't figure out the syntax for this:
object tcsObject = new TaskCompletionSource<Apple>();
Apple apple = new Apple();
// How do I do this?
TaskCompletionSource<apple.GetType>() tsc = tscObject as TaskCompletionSource<apple.GetType>()
Aucun commentaire:
Enregistrer un commentaire