#include "stdafx.h" using namespace System; void main() { Console::WriteLine ( (0xABCDEF).ToString("X") ); }