Allow null only if it makes sense for an object reference to have ‘no value associated with it’ . Don’t use null to signal error conditions. The concept of null exists only for reference types. It doesn’t exist for value types.
Allow null only if it makes sense for an object reference to have ‘no value associated with it’ . Don’t use null to signal error conditions. The concept of null exists only for reference types. It doesn’t exist for value types.