Table below shows the default value for the different predefined data types.
Type | Default |
sbyte, byte, short, ushort, int, uint, long, ulong | 0 |
char | '\x0000' |
float | 0.0f |
double | 0.0d |
decimal | 0.0m |
bool | false |
object | null |
string | null |
As you can see, for the integral value types, the default value is zero. The default value for the char type is the character equivalent of zero and false for the bool type. The object and string types have a default value of null, representing a null reference that literally is one that does not refer to any object.