Trigger Detonator from script

Ok this is doing my head in, how can I explode something from a c# script using detonator.

Im doing

public GameObject explosion;
Instantiate(explosion, transform.position, Quaternion.identity);

but it doesnt work. Why the hell not. I just want to reference the explosion object and then trigger it.

This ought to be really simple, c’mon how do I do it?

Ok, I got thanks everyone for your overwhelming responses in getting this working :stuck_out_tongue: the code is
private void GoBoom()
{
GameObject boom = GameObject.Find(“Detonator-Base”);

if (boom != null)
{
Detonator det = boom.GetComponent();

if (det != null)
{
det.Explode();
}
else
{
Debug.Log(“Det is null”); }
}
else
{
Debug.Log(“Boom is null”);
}

goBoom = false;
}