what is format to make digitalWrite variable?

int led [ ] ={2, 3, 4, 5, 10, 11, 12, 13};

And use the arrya form I showed.