View Single Post
  #80 (permalink)  
Old September 23rd, 2007, 03:18 AM
jimibt jimibt is offline
Friend of Wrox
Join Date: Mar 2007
Location: Creetown, UK
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts


Main difference is performance (it's been measured on one of the sites that i'll dig the reference out for). the FindAll (and ForEach) associated with list <T> in c# are 50% (in some cases) faster than the foreach() loop structure.

mind you, for the small amounts of data that we're searching thro (usually sql subsets, then it's probably not an issue).

anyway - will keep you abreast of any further things that i find.