I can compile a code like this
unsafe static void Main()
{
int i = 5;
int* j = &i;
}
But how can I convert address type to int type and vice versa? like:
unsafe static void Main()
{
int i = 5;
int _j = (int)&i;
int* j = (AddressType)_j;
}