deve essere:codice:int C = Int32.Parse(textBox1.Text + textBox2.Text);
altrimenti, come hai fatto te, concatena le stringhe e converte il valore in interocodice:int C = Int32.Parse(textBox1.Text) + Int32.Parse(textBox2.Text);
deve essere:codice:int C = Int32.Parse(textBox1.Text + textBox2.Text);
altrimenti, come hai fatto te, concatena le stringhe e converte il valore in interocodice:int C = Int32.Parse(textBox1.Text) + Int32.Parse(textBox2.Text);