I want to know what exactly happens inside when we declare a variable, like this:
string tr;
string tr = null;
While debugging, I noticed for both values that it was showing null only. But when using ref tr without initializing null it will give error while the second line doesn't.
Please help me to know about it in depth
refparameter, evennullassignmenet is fine.that's not happening in your first variable declaration.