I am trying to convert some Java code to C#. How can the following unsigned right shift operation be represented in C#?
int src1, src2, ans; ans = src1 >&
C#'s >> operator is sensitive to the operator's signed status (int vs uint). If you need to operate on an int, cast to uint first.
>>
int
uint