Unable to cast object of type 'System.Object[,]' to type 'System.Object[]'
<p>I have a dll which gives me as an output an Object[,] </p>

<pre><code> {Name = "Object[,]" FullName = "System.Object[,]"}
</code></pre>

<p>I am trying to convert it to Object[] to be able to read it properly, as it is a two columns object. 
I have tried to cast it <code>Object[] values = (Object[])data;</code>, but I obtained the error from the tittle: </p>

<pre><code>   Unable to cast object of type 'System.Object[,]' to type 'System.Object[]'.
</code></pre>

<p>Is there any easy way to perform this operation? I would like to make a dictionary out of it.</p>

<p>Thanks in advance</p>