I was wondering, when exactly can I use the foreach loop? Do I have to implement IEnumerable?
Comprehensive explanation: http://msdn.microsoft.com/en-us/library/aa664754%28VS.71%29.aspx