> private void buttonCreatenewversion_Click(object sender, EventArgs e) > { > char c = Convert.ToChar(CurrentVersion); > c++; > string newversion = c.ToString(); > > } // key down >>
> private void buttonCreatenewversion_Click(object sender, EventArgs e) > { > char c = Convert.ToChar(CurrentVersion); > string newversion = c++.ToString(); > > } // key down >
// you *do* need to use the parentheses, otherwise the compiler thinks the ++ is on the string // and you'll get a compiler error. (++c).ToString();~~Bonnie