I have a Windows Form app that has over 100 textboxes. I need to convert them all into integers so I can add them to an array. Is something to this extent possible:

int a [99]

for(int i = 0, i < 100, i++)
Int32::TryParse(textBox(i)->Text, a[i]);

I know it cant be done like this but I need something relatively simple like this. Thanks in advance.