I guess it's been too long since I looked at C++
"Lloyd Dupont" <net.galador@ld> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Mountain Bikn' Guy was nearly right, but let me correct him:
It's almost the same:
const int DETAIL = 2;
const int CHECK = 0; //or 1 or whatever you need (Not needed)
if ((support & DETAIL) == DETAIL )
{
....
}
there is also:
if ((support & DETAIL) != 0)
{
....
}
"Dirk Reske" <_F*******@gmx.net> a écrit dans le message de
news:un**************@TK2MSFTNGP09.phx.gbl...
hello,
how can I express this C++ statement in C#
const DETAILS = 2;
if (support & DETAILS)
{
....
}