What happens when creating a variable? Languages

What happens when creating a variable?

What exactly happens when the first line in Method1 is carried out?I understand memory is set aside for the string variable str, but does the right-hand side of the statement also get carried out at this stage? i.e. does it actually retrieve a value for the right-hand side?
Read More
Creating a variable Languages

Creating a variable

I'm fairly new to c# and would like to know something about the following code:What exactly happens when the first line in Method1 is carried out? I understand memory is set aside for the string variable str, but does the RHS of the statement also get carried out at this...
Read More