/ Published in: C#
Oddly, using Char.GetNumericValue() resulted in numbers that couldn't be cast back to a char using Convert.ToChar().
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
char alphaStart = Char.Parse("A"); char alphaEnd = Char.Parse("Z"); for(char i = alphaStart; i <= alphaEnd; i++) { string anchorLetter = i.ToString(); }