Pass a struct to another class
<p>I have an array of structures in one C# class and I want to pass that data into another class. </p>

<p>Here is my code</p>

<pre><code>private struct strClassOfService
{
    public string COS;
    public string myValue;
}

private strClassOfService[] arrCOS = null;

//
// some code that loads arrCOS with data
//

//
// here is where i will instantiate another class and
// set the arrCOS so I can use it in the other class
//
</code></pre>

<p>If all else fails I suppose I could reload the data in the other class. But I am curious if there is a way. So far my attempts have failed. </p>
