Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foreach vs AddRange
Message
 
 
To
11/08/2009 14:16:07
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01417359
Message ID:
01417379
Views:
57
>>Did you try to initialize the buf array with some values for your tests?
>>
>>And also run the tests separately, not in one class?
>
>(1) Yes
>(2) What difference would that make ?

You're right - probably no difference - but just for the purity of the experiment (since in first case the array is created, may be it is somehow "re-used")?

Or try to switch the order of the tests just to exclude this potential (non-existent) problem.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform