Split arrays and assign them to Variables
Hello guys I need your help in split and asign values to two variables, from the following collection:
string[] selectedItems= new string[2] {"26-1", "30-2"};
RESULT: This values will be passed to an method which need A and B as parameters. Please any help will be appreciate it.
First set second set
int A= 26 int A = 30
int B = 2 int B = 2