2
Reply

how to compare two string in the csharp web application

Sairam

Sairam

Nov 12 2010 7:37 AM
3.4k
how to compare two string in the csharp web application 

  if(arrStr.Equals(temp))
                           
                          {
                              Response.Write("equal");
                          }
                          else
                          {
                              Response.Write("not");
                          }

results always "not" even when 2 strings are equal

Answers (2)