Understand how bitwise operators work (C# and VB.NET examples) - CodeProject
You have to stop dividing if the quotient is 0. Now, read the sequence of remainders from right to left, then you get the binary number 1100001111 Step-by-step explanation on converting 783 10 to a binary number: Divide 783 by 2. The quotient is 391, the ...