C# - Task.WaitAll () is not waiting for all task to finish
问题 I am using C# code to send an Xml to an api end point and capture the response The way I do it is as follows I have folder A with 100 xmls, folder B with 100 Xmls and folder C with 100 xmls I loop through each of the folders and in each loop iteration I create a task. Lets call this as folder task The folder task loop through all the xml in each folder and captures the response. This is accomplished in sendrequestandcaptureresponse() method The issue I am facing is the loop end before all the