When building applications, you often come across objects that are quite expensive to create. In some scenarios, the cost of creating new objects is high enough to impact application performance. Here ...
The Prototype Pattern involves cloning objects. Learn how to create both deep and shallow clones for instances in your program where creating a new object won't work. The Prototype Pattern is a common ...
Practical .NET Move Beyond Factory Methods with the Builder Pattern in C#/Visual Basic When your objects get sufficiently complicated to create, it's time to simplify your life by moving to the ...
Take advantage of the NULL Object pattern to avoid writing too much boilerplate code in your application when checking for null values A null object is one that doesn’t have any referenced value. The ...