Archive for October 9th, 2008

Making values nullable

A04C0009 First, a little history lesson.

When .NET was first released, we had value types and object types.  The difference between the two is that you do not have to set aside memory for a value type because the memory is placed on the stack.  So ints, doubles, and structures are all value types.

However, even though the value type is treated differently, it is still ultimately inherited from the Object type.  This is good because it allows us to create a method

Read the rest of this entry »