Assigning values from list to list excluding nulls
<p>Sorry for the title but I don't know other way of asking.</p>

<p>EDITED FOR EASY EXPLANATION</p>

<pre><code>public Dictionary&lt;string, string&gt;[] getValuesDB(DataSet ds)
    {

        Dictionary&lt;string, string&gt;[] info; 
        Dictionary&lt;string, string&gt;[] temp = new Dictionary&lt;string, string&gt;[ds.Tables[0].Rows.Count];
        Dictionary&lt;string, string&gt; d;

        string ciclo = "CICLO 02";

        try
        {
            for (int c = 0; c &lt; ds.Tables[0].Rows.Count; c++)
            {
                d = new Dictionary&lt;string, string&gt;();

                OracleConn ora = OracleConn.getInstancia();
                DataSet oraDs = ora.getClientByCycle(ds.Tables[0].Columns["IDCliente"].Table.Rows[c].ItemArray[1].ToString(), ciclo);

                if (oraDs.Tables[0].Rows.Count &gt; 0)
                {
                    oraDs.Tables[0].Columns[5].Table.Rows[0].ToString();
                    d.Add("DomID", ds.Tables[0].Columns["DomID"].Table.Rows[c].ItemArray[0].ToString());
                    d.Add("ClientID", ds.Tables[0].Columns["ClientID"].Table.Rows[c].ItemArray[1].ToString());
                    d.Add("AccountType", ds.Tables[0].Columns["AccountType"].Table.Rows[c].ItemArray[2].ToString());
                    temp[c] = d;
                }
             }

        }
        catch (Exception eo)
        {

        }

        int count = 0;
        for (int i = 0; i &lt; temp.Length; i++)
        {
            if (temp[i] != null)
                count++;
        }

        info = new Dictionary&lt;string, string&gt;[count];

        return info; 
</code></pre>

<p><em><strong>NOW I need to get all the non-null values from 'temp' and put it in info</em></strong>
Any idea</p>
