Return to Snippet

Revision: 1051
at September 4, 2006 21:19 by rengber


Initial Code
char alphaStart = Char.Parse("A"); 
  char alphaEnd = Char.Parse("Z");  
    for(char i = alphaStart; i <= alphaEnd; i++)
    {
      string anchorLetter = i.ToString(); 
    }

Initial URL

                                

Initial Description
Oddly, using  Char.GetNumericValue() resulted in numbers that couldn't be cast back to a char using Convert.ToChar().

Initial Title
Iterating through the Alphabet

Initial Tags

                                

Initial Language
C#