unsafe { int x = 10; int* p = &x; Console.WriteLine("address:{0}", (int)p); Console.ReadKey(); } 输出的是10进制的地址
Console.Write(&p);