how to assign string value of an array into gameobject text?

I need to assign value from my array into gameobject text, but i dont have any idea on how to do it?

@Minuks @Bunny83 @duck help me guyss ;(

You mean something like this .

publlic GameObject[] UItext;

then you will use it like this

void Start(){
   foreach(GameObject uis in UItext){

I hope it helps you.