Xavier Henry

Xavier Henry

  • NA
  • 4
  • 2k

code error

Oct 14 2014 5:12 AM
"cannot implicitly convert type int to string" can someone tell me how to correct this error.
this is my code:

int num1,num2,num3;
if(num1<num2&&num1<num3)
txtLow.Text=(num1);
else if(num2<num1&&num2<num3)
txtLow.Text=(num2);
else
txtLow.Text=(num3);

it's a windows application that will display the lowest number.

Answers (3)