for loop for game objects

I am making a for loop but it is not working and I get some errors so could you guide me on how to do this. I want the objects to be not active in the array I have. I did look at the Unity tutorials. Here is what I have so far.

public GameObject[] players
    
    
    void Start ()
    {
        for(int i = 0; i < players.GetLength; i++)
        {
            players*.gameObject.SetAtive = false*

}
}

SetActive() is a method not a variable, so you need to talk to it differently. Players is a gameobject already so no need to say players*.gameObject. And you always need to add a semicolon at the end of a statement.*
public GameObject[] players

void Start ()
{
for(int i = 0; i < players.GetLength; i++)
{
players*.SetActive(false);*
}
}