Send data form multiple sensors to PC via serial Connection C# form

I want to convert the string[] into integers and use them in an if statement:

Permission granted.

If you have problems, be sure to let us know.