Compiler can't convert from String to int but it should
Posted: Thu Nov 28, 2013 10:17 pm
I'm using this Choose function, and as far as I understand, it will take my month variable as index, and depending on its value it will print any of the positions of the function, but it gives me that error, I don't know why, any ideas?
Code: Select all
Choose(Month,"1","2","3","4","5","6","7","8","9","10","11","12").ToString()