I am receiving an "unreachable code error" in the following:
if (customer != "I"
&& customer != "R"
&& customer != "C");
{
MessageBox.Show("Please Enter I for Industrial, R for Residential, or C for Commercial.");
txtCustomer.Focus();
return;
I am fairly new to C# and not sure how to continue.
I have tried using "&", "==" and combinations thereof.
Thanks
Geo r.

New Topic/Question
Reply



MultiQuote




|