Comparing string in C# is pretty simple. In fact there are several ways ... Here are the rules for how these functions work: stringValue.
stackoverflow.com