I have a specific address (let's call it ADR) in my memory with a specific value (let's assume 4 bytes int)
I want to crate an int variable in c# and change the address to that variable to ADR so when I do for example; print myVar it prints the value stored in ADR.
I know I can make an IntPtr(ADR) and then use Marshal Methods to get the value but I want a way to do this without calling a method everytime I have to read the value.
Thanks!!