C#, right shift
\npublic class Solution {\n    public int[] EvenOddBit(int n)\n    {\n        var answer = new int[2];\n        var count = 0;\n\n        while (n != 0)\n      
```\npublic class Solution {\n    public int[] EvenOddBit(int n)\n    {\n        var answer = new int[2];\n        var count = 0;\n\n        while (n != 0)\n        {\n            answer[count++ % 2] += n & 1;\n\n            n >>= 1;\n        }\n\n        return answer;\n    }\n}\n```
['C#']