Jump to content

.net Guys : Linq Foreach Vs For Loop Performance Wise Which Is Better


Recommended Posts

Posted

LINQ ForEach Loop vs foreach vs classical for loop which one better in performance


I heard that LINQ introduces some performance issues ,,,, is this true ??? Please tell rey...

Posted

pedda theda emi ledu. read this: http://stackoverflow.com/questions/9072126/linq-foreach-vs-foreach-if

Posted

true.....linq has some performance issues...
If it is having too complicated queries....like too many joins.....

One thing, you can do using linq is....have a sproc and then use that using linq instead of ado.net

×
×
  • Create New...