On Tue, Jan 13, 2009 at 6:25 AM, Steven Schveighoffer <schvei...@yahoo.com> wrote:
> because that's basically what a foreach does when using opApply: create an > inner function and then pass a delegate pointing to that function to > opApply. > > I think the difference between the two is that the compiler handles foreach > on an array in a special manner without using an inner function/delegate. That's an implementation detail and shouldn't effect the behavior visible to the user. --bb