I know that the default value for reference types is null
and the default value for value types follow this table: http://msdn.microsoft.com/en-us/library/83fhsxwc.aspx.
I also know that in C#, instance fields are automatically initialized and local variables are not. I'm also aware that the compiler will force you to assign a local variable before you read it.
I'm curious about what is the value of a local variable before it's assigned. Is it set to the default value, even though the compiler wants you to explicitly assign a value, or is it just random bits?