Index (zero based) must be greater than or equal to zero and less than the size of the argument list
<p>When I try to call the balance method I get the error below.I am trying to list the account holder with their account balance. Any help would be great.</p>

<blockquote>
  <p>Index (zero based) must be greater than or equal to zero and less than the size of the argument list.</p>
</blockquote>

<pre><code>public void balance(){
    for (int x = 0; x &lt; 6; ++x)
        if (x &lt; 5){
            Console.WriteLine("Account Holders Name===&gt;{1}Has a balance of===&gt;{2}",
                accountname[x], accountbal[x]);
        }
}
</code></pre>
