July, 2008

  • Matthew Manela's Blog

    Foreach is Duck Typed!

    I thought I know how the foreach construct worked under the covers. I figured the compiler would check if the type being iterated over implement IEnumerable or IEnumerator. And if so it will call MoveNext and Current to loop over the elements. But then...
Page 1 of 1 (1 items)