public contentresult Name(string name,string pwd)
{
string msg=string.Empty;
if(name=="sankeerth" && pwd="sank")
{
msg="sucess"
}
else
{
msg="Faliure"
}
} when i'm trying this it is directly going to else block.plz help me thanks in advance
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dharmraj ThakurPosted Dec 13, 2017, 11:54 PM
MelbinPosted Dec 18, 2017, 9:15 AM
{
if (name.ToLower().Equals("sankeerth") && pwd.ToLower().Equals("sank"))
{
msg = "sucess"
}
else
{
msg = "Faliure"
}
}
sankeerth mPosted Dec 15, 2017, 11:25 AM
Bryian TanPosted Dec 13, 2017, 8:36 PM
MelbinPosted Dec 13, 2017, 1:07 PM
Bryian TanPosted Dec 10, 2017, 2:58 AM