Vlad,
Well, I changed the _address field and the test method to be public, and
then wrote the value of _address out to the console after I ran test. The
value was the same.
There must be something else changing it which is not shown in the code
that you posted.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Vlad" <a.*********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
In the following code:
unsafe class X
{
byte* _address;
void test()
{
_address=(byte*)144220152;
}
}
Why the watch windows shows a differtent address for _address variable
?