on the button click the below methods are fired, just change the email and reg code to make the if condition true please help me how i can make the flag true or if condition true thx
//Button code-------------------------------
private void button2_Click(object sender, EventArgs e)
{
//#----------put the email here and regcode and make the condition true;
CheckRegistration(
}
//---------------------------
non = _regCode;
//#---------- you have to make this condition true
flag =
};
num = i;
str = (((str + ConvReg(chArray[0]).ToString()) + ConvReg(chArray[1]).ToString() + ConvReg(chArray[index - 1]).ToString()) + _regMail.Length.ToString() + ConvReg(chArray[index + 1]).ToString()) + ConvReg(chArray[index + 2]).ToString() + ConvReg(chArray[_regMail.Length - 1]).ToString();