This is really stumping me today. I\'m sure its not that hard, but I have a System.Reflection.PropertyInfo object. I want to set its value based on the result of a database
object defaultValue = type.IsValueType ? Activator.CreateInstance(type) : null;