if variable is not assigned, then it takes the default value at run time. for example
int A1;
if i will check the value of A1 at runtime it will be 0; then why at compile time it throws a error of unassigned value; why CLR don't use to a lot the default value at runtime;
int A1;
int B1 = A1+10;
it should be 11 as the default value of A1 is 0;
there project property where i can check for "assign default values for unassigned variable";
Can anybody tell me where i can find it?