Array inside a static instance of an Object is destroyed
<p>I made a class:</p>

<pre><code>public class Msg {
     int[] Data;
}
</code></pre>

<p>In the program startup I create the class and create the array:</p>

<pre><code>static Msg rMessage;

rMessage = new Msg();
rMessage.Data = new int[8];
</code></pre>

<p>The problem is that if I want to use the array later in the program it is destroyed. In the startup I can see the array in the debugger, but later in the code it changes to <code>null</code>. The other properties of the class are still set to the right value.</p>

<p>Am I missing something?</p>
