for versus foreach

Ameer Armaly ameer_armaly at hotmail.com
Sat Apr 8 11:50:37 PDT 2006


What are the reasons/differences in using foreach over a for loop?  Is it just performance or readability?

-- 



Ameer
---
Visit my blog at
http://ameerarmaly.blogspot.com
---
Life is either tragedy or comedy.
 Usually it's your choice. You can whine or you can laugh.
--Animorphs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20060408/b87d4c03/attachment.htm 


More information about the Digitalmars-d-learn mailing list