how to use Math Function compare two string in c#

Gow.Net
Posted by Gow.Net under C# category on | Points: 40 | Views : 1676
  public static bool s;
string str1 = "Gowthaman";
string str2 = "Gowthaman";
s = System.Math.Equals(str1, str2);//use math operation
Console.WriteLine(s);

Comments or Responses

Login to post response