papasmurff117
2009-07-28 19:01:22 UTC
switch (data)
{
case data.Substring(0,6) == "send /":
MessageBox.Show(data.Substring(7));
break;
}
Error: Cannot implicitly convert type 'bool' to 'string'
This comes from the case data.Substring(0,6) =="send /":
Does anyone know how i fix this?