Testing if ValueType is default, unassigned value
Hi, I am having some trouble finding the default, unassigned value of ValueType properties using reflection. What I am trying to do is write some code that automatically set some properties, but only if the initial property value is in it's default, unassigned state. For property reference types it is easy and I am just checking if the property is null, but even after searching the reference and google I am no closer to finding out to get the default value of a ValueType to test against. Any help would be appreciated.

