How do i spawn a GameObject to a random position from an array? c#

Trying to make a coin spawn from a random position within an array. I have an array with 26 empty game objects. I want the coin to spawn on one of these random objects… Here’s my c# code…

And Ideas?

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CoinGenerator : MonoBehaviour {

	public Transform[] possibleSpawnPositions;
	public GameObject objectTypeToSpawn;

	void Start () {

		Transform spawnPointReference = GetSpawnPointReference();
		Transform newObject = Instantiate(objectTypeToSpawn, spawnPointReference.position, spawnPointReference.rotation) as Transform;
		}
		// do any other stuff with newObject here..

	// function to get a random transform from the list of possible spawn points
	public Transform GetSpawnPointReference() {
		int randomIndex = Random.Range(0, possibleSpawnPositions.Length);
		return possibleSpawnPositions[randomIndex];
	}
}

try instead
Transform newObject = Instantiate(objectTypeToSpawn, spawnPointReference.position, spawnPointReference.rotation) as Transform;

next:
GameObject newObject = Instantiate(objectTypeToSpawn, spawnPointReference.position, spawnPointReference.rotation);