Error!
Success!

ListT.ForEach or foreach, it doesn't matter...or does it?

0
kicks

ListT.ForEach or foreach, it doesn't matter...or does it?  (Unpublished)

When you use a List<T>, 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! If you use primitive data types you should avoid using the ForEach method. Also the ForEarch method shows that not all what you can do, you also should do!


Kicked By:
Drop Kicked By: