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
Why is it bad to use short Languages

Why is it bad to use short

It is very common that even in script where the developer have guarantees that the variable will never exceed one byte and sometimes two bytes; Many people decide to use int types for every possible variable used to represent numbers nay in the range of 0-1.
Read More