LINQ vs FOREACH vs FOR Loop Performance(schnieds.com)

submitted by schniedsschnieds(105) 2 years, 10 months ago

A comparison of the performance differences between using a LINQ statement, a FOREACH statement and a FOR loop to accomplish the same goal. Performance results for three iteration amounts as well as a test console application to view performance results first hand. Results: LINQ is an awesome tool, but every developer that is going to use it should be aware of the performance implications.

add a comment |category: |Views: 359

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story