Sairam

Sairam

  • NA
  • 321
  • 412k

how to compare two string in the csharp web application

Nov 12 2010 7:37 AM
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)