Does "for" in .Net Framework 4.0 execute loops in parallel? Or why is the total not the sum of the p
- by Shiraz Bhaiji
I am writing code to performance test a web site. I have the following code:
string url = "http://xxxxxx";
System.Diagnostics.Stopwatch stopwatch = new System.Diagnostics.Stopwatch();
System.Diagnostics.Stopwatch totalTime = new System.Diagnostics.Stopwatch();
totalTime.Start();
for (int i = 0; i < 10;…