Random death instantiate?

Hello, I need this alone, does anyone know how to instantiate an object at random from a list? in this case, when the enemy dies, it becomes one of several objects on a list, thank you!

    	void Die () 
    	{
//there are more objects up but one is assigned
    		Instantiate (DeathObject, EnemyObject.position, EnemyObject.rotation);
    		Destroy(EnemyGameObject);
    	}
    }

void Die ()
{
var randomIndex = Random.Range(0, listOfDeathObjects.Count);
var death = listOfDeathObjects[randomIndex];
Instantiate(death, EnemyObject.position, EnemyObject.rotation);
Destroy(EnemyGameObject);
}