A quesstion about vector3s

How do you print one or all of the vector3s in an array
to the console?

C#

foreach(Vector3 vector in vectorArray)
    print(vector);

javascript

for(var vector in vectorArray)
    print(vector);