0
kicks
The Untouchables (part III) – Adding iterators to our immutable stack
In my last post I showed you a VB translation of Eric Lippert’s immutable stack class. There was however one thing that was lost in translation. In Eric’s original code he made the class enumerable (added support for a For Each loop). Because C# has support for iterators with it’s yield keyword, that was very easy to do… in C#. VB currently doesn’t have this feature so to add the same support we need to implement both ...