LINQ is 100% slower
Depending on what you are trying to accomplish in your program, but for the most part this is certainly what I would call LAZY PROGRAMMER CODE ...
You are going to “stand up” substantially if you perform any complex queries, combine, etc ... total pos for these types of functions / methods - just do not use it. If you do this with great difficulty, you will be much happier in the long run ... and productivity will be in the world.
NOTE :
I would definitely not recommend LINQ for any program created for speed / synchronization / calculation tasks (i.e. trading HFT and / or trading AT i-0-i for starters).
TESTED
It took almost 10 seconds to complete the connection in "LINQ" versus <1 millisecond.
Bo jagles
source share