string s = "csdn123";
char[] ch = s.ToUpper().ToCharArray();
Keys[] k = new Keys[ch.Length];
for (int i = 0; i < ch.Length; i++)
{
k[i] = (Keys)ch[i];
MessageBox.Show(k[i].ToString());
}
不知道能不能满足要求。
char[] ch = s.ToUpper().ToCharArray();
Keys[] k = new Keys[ch.Length];
for (int i = 0; i < ch.Length; i++)
{
k[i] = (Keys)ch[i];
MessageBox.Show(k[i].ToString());
}
不知道能不能满足要求。
非常感谢..结帖,,呵呵