How to access GameObject from List

I’m new to programming and I’ve been working hard and learning a lot. So far I’ve been able to figure everything out or find answers online but now I’m stuck on something that I’m sure has been staring me in the face.

I have a list of prefabs which are set inactive. I generate a random number. I’d like to use that number to access the prefab in the list index corresponding to that number so I could then set it to active. My problem is that I don’t know how to reference the item in the list. Something like GetFromList (index)…? I’ve spent far to long trying to figure this out so I’m finally giving in and asking for help. If anyone can point me in the right direction I’d be grateful. I’ve been using C# by the way.

You can just access to it this way: myList[index];