evaluating an array as the field of a class?
<p>I want to have an array in a class that can use by methods of the class itself. I want to evaluate array by a method and read by another one, how can i do this with c#? thanks</p>

<pre><code>class Something 
{
    Double[] arrayName = new Double[20]; 
    public void Method() 
    {
        arrayName[index] = value; 
        index++;
    }
}
</code></pre>
