how to make an array with game objects and then span randomly these objects

I would like to create random explosion from array of explosions. The question is how to acces that array.My code below.This is my first atempt to use arrays so I guess my code is just wrong.could sombody more expirienced take a look?

#pragma strict
private var  kabum:boolean;
var listofExplosions :GameObject[];





/*var rr:float;              not  important   not  important not  important

function Start () {
kabum=true;
}

function   Update () {



if(kabum){
bum();

}

}

       function bum() {
     
kabum=false    ;
var rr = Random.Range(0.1,1.3);

*/

var starcie1 = Instantiate(listofExplosions(0.2),transform.position,transform.rotation); /*so  here  i  want  to create first objects from  arrey-then  i want  to  create  objects form  array  randomly

yield WaitForSeconds(rr);
kabum=true;
}

I almost got it to work… the last problem is to use chose random object from array. tried but always object 0 from array is created… so seams taht random does not work

#pragma strict
private var  kabum:boolean;
var lista : GameObject[];
//var wybuch2 :GameObject;
//var wybuch3 :GameObject;
//public var lista:Array;



var rr:float;          
function Start () {
kabum=true;
}

function   Update () {



if(kabum){
bum();

}

}

       function bum() { 
      
kabum=false    ;
var rr = Random.Range(0.1,1.3);


var  losowa =Random.Range(0,1);
var starcie1 = Instantiate(lista[losowa],transform.position,transform.rotation); /*so  here  i  want  to create first objects from  arrey-then  i want  to  create  objects form  array  randomly*/

yield WaitForSeconds(rr);
kabum=true;
}

solved:)

#pragma strict
private var  kabum:boolean;
var lista : GameObject[];
//var wybuch2 :GameObject;
//var wybuch3 :GameObject;
//public var lista:Array;



var rr:float;          
function Start () {
kabum=true;
}

function   Update () {



if(kabum){
bum();

}

}

       function bum() { 
      
kabum=false    ;
var rr = Random.Range(0.1,1.3);


var  losowa =Random.Range(0,3);
var starcie1 = Instantiate(lista[losowa],transform.position,transform.rotation); /*so  here  i  want  to create first objects from  arrey-then  i want  to  create  objects form  array  randomly*/

yield WaitForSeconds(rr);
kabum=true;
}