1
Answer

Conversion from C++ to C#

Photo of Hans

Hans

15y
2.5k
1
In C++ we have this code: #define WORD(b) ((b)[0] << 8 | (b)[1]) int Foo::R(void) { unsigned char *a; return WORD(a+2); } How can this be translated to C#? Kind regards Hans

Answers (1)