Why can't I correctly assign variables to an Array?
<p>So I'm writing a program that inputs a number (binary) then assigns each digit of that input into an array.</p>

<pre><code>static void Main(string[] args)
{
    Console.Write("Please enter a binary number: ");
    String input = Console.ReadLine();
    int inputLength = input.Length;
    int nInput = Convert.ToInt32(input);
    int[] digits;
    digits = new int[inputLength];

    int remain = 10;
    int divider = 1;
    for (int i = 0; i &gt; inputLength; i++)
    {
        digits[i] = (nInput % remain) / divider;
        remain = remain * 10;
        divider = divider * 10;
    }
    Console.WriteLine("Demo number  " + digits[0]);
}
</code></pre>

<p>However, it seems like all my arrays have a value of 0, whenever I run the code. Why is that? </p>

<p>So if my input is 11010,
<code>digit[0]</code> should be 0.
<code>digit[1]</code> should be 1.
<code>digit[2]</code> should be 0. 
<code>digit[3]</code> should be 1.
<code>digit[4]</code> should be 1.</p>