Answers for "how to compare two strings in c# using if condition"

C#
0

how to compare two strings in c# using if condition

string name1 = "content";
string name2 = "content";

if (string.compare(name1,name2) == 0)
{
	"ACTION"
}
Posted by: Guest on August-09-2021

Code answers related to "how to compare two strings in c# using if condition"

C# Answers by Framework

Browse Popular Code Answers by Language