标签: c# httpwebrequest httpwebresponse
我有一个网页链接列表,我需要下载它们的来源。如何使用异步并为此等待?
List<string> webpages; //includes web pages links List<string> sources = new List<string>(); for(i=0, i < webpages.count, i++) { sources.add(async_method_to_download_page_source(webpages[i])) }