Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The default keyword.
The default keyword can be used in the switch statement or in generic code:
The switch statement: Specifies the default label.
Generic code: Specifies the default value of the type parameter. This will be null for reference types and zero for value types.