public static bool s; string str1 = "Gowthaman"; string str2 = "Gowthaman"; s = System.Math.Equals(str1, str2);//use math operation Console.WriteLine(s);
Login to post response