On Friday, 27 July 2012 at 07:42:51 UTC, Nick Sabalausky wrote:
On Fri, 27 Jul 2012 08:31:36 +0200
Jacob Carlborg <d...@me.com> wrote:

Note that iterators in .NET and C++ are a bit different. .NET has language support with the "yield" keyword.


I wonder how that works under the hood.

It's well-documented. The compiler creates an anonymous class with a state machine. It's really useful.

Reply via email to