How to code this C++ function in C#? [closed]

Here’s how I would code it in C++:

void put8At ( unsigned char *b, int pos, int v )
{
    b[pos] = v & 0xff;
}

This is probably easier to translate to C# now.

Leave a Comment