AWAIT multiple file downloads with DownloadDataAsync
问题 I have a zip file creator that takes in a String[] of Urls, and returns a zip file with all of the files in the String[] I figured there would be a number of example of this, but I cannot seem to find an answer to "How to download many files asynchronously and return when done" How do I download {n} files at once, and return the Dictionary only when all downloads are complete? private static Dictionary<string, byte[]> ReturnedFileData(IEnumerable<string> urlList) { var returnList = new