How do I convert from the number 65 to the letter A or the number 90 to the letter Z?
It's to go in a loop that runs from 65 to 90 creating 26 buttons lettered A to Z.
Printable View
How do I convert from the number 65 to the letter A or the number 90 to the letter Z?
It's to go in a loop that runs from 65 to 90 creating 26 buttons lettered A to Z.
(char)65 <- will do it
for (int i = 65; i < 90; i++) {
MessageBox.Show(Convert.ToString((char)i);
}
Thank you. :)