Print arraylist values to console unity

Code Example - Print arraylist values to console unity

                
                        // C# In Unity

string[] aHuman = { "Leyla", "Pedro", "Carlos", "Ana" };

function Start ()
 {   //create a new variable Human so you can get the values
     foreach (string human in aHuman) 
          {
              Debug.Log(human);
          }
 }

// Press Play and open the Console