Click here to Skip to main content
15,903,388 members
Articles / Programming Languages / C#

List(T).ForEach or Foreach, It Doesn't Matter...Or Does It?

Rate me:
Please Sign up or sign in to vote.
4.31/5 (23 votes)
17 Jun 2010CPOL2 min read 191.4K   23  
When you use a List, it doesn't matter if you use the ForEach method of the generic list or use a normal foreach or does it? Sometimes it makes a difference!

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Comments and Discussions