Closed craigfowler closed 7 years ago
This method takes a Type and returns the default value for that type. It's essentially equivalent to default(T) except that it operates on a type instance and not a named type, this it is evaluated at runtime.
Type
default(T)
This method takes a
Type
and returns the default value for that type. It's essentially equivalent todefault(T)
except that it operates on a type instance and not a named type, this it is evaluated at runtime.