Per scrivere poco codice puoi usare l'ogetto ArrayList:
ArrayList a = new ArrayList( this.listBox1.Items );
oppure se vuoi che sia per forza un array puoi fare così
Object[] a = new ArrayList( this.listBox1.Items ).ToArray();
Per scrivere poco codice puoi usare l'ogetto ArrayList:
ArrayList a = new ArrayList( this.listBox1.Items );
oppure se vuoi che sia per forza un array puoi fare così
Object[] a = new ArrayList( this.listBox1.Items ).ToArray();