Regards to the following code:
int[] to = new int[] { text };
I understand it tries to define an array of integer, but What does the curly braces do in array definition?
The curly braces contain values to populate the array.