HttpClient in using statement
The difference is that in the top loop, you’re creating 10 total HttpClient objects, using each once, and then disposing of each, while in the bottom, you’re creating just one HttpClient and reusing it. The point of the article is that it’s quite inefficient – and wholly unnecessary – to make a new HttpClient object … Read more