Essential .NET - Understanding C# foreach Internals and Custom Iterators with yield RRS feed

  • General discussion

  • Mark Michaelis delves Into the internals of a core construct of C# —the foreach statement—then explores implementing the foreach collection interfaces using the yield statement.

    Read this article in the April 2017 issue of MSDN Magazine

    Monday, April 3, 2017 7:55 PM