I have used the three fields in the program and got the difference in usage but I am little confused where does these fields are getting stored? either in data segment(stack or heap?) or code segment?
static int a;
const int b=1235;
readonly int c;
in ILDASM the the fields are described as the following
for static: .field private static int32 a
for constant: .field private static literal int32 b = int32(0x000004D3)
for readonly: .field private initonly int32 c