for (char i = 'A'; i <= 'Z'; i++) { //Response.Write(i.ToString() + "," + ((int)i).ToString()); } for (int i = 65; i < 91; i++) { //Response.Write((char)i); }