Click here to Skip to main content
15,922,650 members

Comments by paraszalariya12 (Top 1 by date)

paraszalariya12 22-Nov-11 1:48am View    
if (sex = "M" || sex = "m") this line display Operator '||' cannot be applied to operands of type 'string' and 'char'

lbl_sex.Text = "sex:male";
else
lbl_sex.Text = "sex:female";