C# NullReferenceException unhandled (with string array)
<p>I have the following code:</p>

<pre><code>string[] buttons = new  buttons[5];
int j = 0;
while (j&lt;5)

    {
       buttons[j] = pullString(node);
       j++;
    }
</code></pre>

<p>However I get a NullReferenceException unhandled error pointing to the first line of the code inside the while block. Please explain! </p>
