Hans

Hans

  • NA
  • 4
  • 0

Conversion from C++ to C#

Oct 23 2009 7:44 AM
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)