string a="hi";
if (a.ToLower()=="HI".ToLower())
{
Response.Write("Matching");
}
else
{
Response.Write("Not Matching");
}
The Result is: Matching
a->String Name
if (a.ToLower()=="HI".ToLower())
{
Response.Write("Matching");
}
else
{
Response.Write("Not Matching");
}
The Result is: Matching
a->String Name
No comments:
Post a Comment