用什么方法让它变成D2,C1,D3,D4,D5,D6,D7
让字母依次往后推。
string[] str=new string[7];
str[0] = "C2";
str[1] = "B1";
str[2] = "C3";
str[3] = "C4";
str[4] = "C5";
str[5] = "C6";
str[6] = "C7";
for (int i = 0; i <= 6; i++)
{
ASCIIEncoding asc = new ASCIIEncoding();
int temp= (int)asc.GetBytes(str[i].Substring(0,1))[0];
temp++;
string num = str[i].Substring(1, 1);
System.Text.ASCIIEncoding asciiEncoding = new System.Text.ASCIIEncoding();
byte[] byteArray = new byte[] { (byte)temp };
string strCharacter = asciiEncoding.GetString(byteArray)+num;
MessageBox.Show(strCharacter.ToString());
}