you cannot compare for two string by that operator. If you want to compare the length or compare equal, my solution is find the method support compare two string in C#
read msdn here
eg
string MyString = "Hello World!";
Console.WriteLine(String.Compare(MyString, "Hello World?"));