この方法があります:
async Task<int> AccessTheWebAsync()
{ 
    HttpClient client = new HttpClient();
   Task<string> getStringTask = client.GetStringAsync("http://msdn.microsoft.com");
   // You can do work here that doesn't rely on the string from GetStringAsync.
   DoIndependentWork();
   string urlContents = await getStringTask;
   //The thing is that this returns an int to a method that has a return type of Task<int>
   return urlContents.Length;
}Task<int>との間で暗黙的な変換が行われintますか?そうでない場合、何が起こっていますか?それはどのように機能するように実装されていますか?
                  @Freeman、この素晴らしい説明を見てください:stackoverflow.com/a/4047607/280758
                
                
                  
                    —
                    qehgt 
                    
                  
                
              
asyncキーワードに基づいてそれを処理すると思います。