Browse by Tags

All Tags » vb » immutable (RSS)

The Untouchables (part III) – Adding iterators to our immutable stack

Introduction 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...

The Untouchables (part II) – Creating an Immutable stack with VB

Introduction In this article I will shamelessly “steal” the great work originally posted by Eric Lippert on his blog . However I will translate his code into VB and try to explain it from a VB developers point of view. In my last post , I described what...

The Untouchables – Creating Immutable objects with VB

There are many articles available on the Internet about immutable objects in .Net. Unfortunately almost all of them are addressed toward C# developers. In this article I’m going to rectify that by providing some information on the subject aimed...

Make immutable objects mutable

In .Net the String object is an immutable object, which means that it’s basically constant and can’t be changed. You can’t change a string, you can only create new strings. The various methods that the String class have never directly change the string...