If you are looking for => , which is usually written as >= , you cannot do this directly with strings. You can get the same behavior through CompareTo :
string1.CompareTo(string2) >= 0
In this case, a result less than or equal to zero means that string1 will be sorted to string2 and therefore greater.
The FYI operator => in C # is used only in the definition of lambda expressions.
Drew noakes
source share