When we declare a variable of int
for example:
int i = 4;
The following IL is generated :
IL_0001: /* 1A | */ ldc.i4.4
I can understand that 1A is the hexadecimal representation of 4, so am i understanding right that hexadecimal value is saved used to refer to value of it or it means something different?
When i declare a double variable like:
double d = 12.34;
Following IL is generated which i am not able to get few things in it:
IL_0003: /* 23 | AE47E17A14AE2840 */ ldc.r8 12.34
How is 23 coming and what it means and what is AE47E17A14AE2840
here?
When i declare a float with same value:
float f = 12.34f;
i have this IL now:
IL_000d: /* 22 | A4704541 */ ldc.r4 12.34
Same question here as well how 22
comes and what it means and what is A4704541
?