It is not "vs", it just a coding notation, both decimal and hexadecimal (and binary) notation is translated to same int number by compiler. You can see that in your code also, it is just an
int
variable in all cases:
var i1 = 1;
var i2 = 0x1;
var i3 = 0b1;