Skip to content

C# Print IntPtr as hex

C# Print IntPtr as hex

Console.WriteLine("Value : {0:X}", intptr);
Console.WriteLine("Value : {0:X}", intptr.ToInt64());
Enjoyed the content ? Share it with your friends !
Published inDevelopmentProgramming

Be First to Comment

Leave a Reply

Your email address will not be published.