I have to tell if one string is less than another (e.g. First string is apple and second string is banana. first string will be less than second string because it comes before it in the alphabet. (at least i think that's how it works)).

It seems I can't do this with C# because it just gives

Operator '<' cannot be applied to operands of type 'string' and 'string'

which I seem to have found that you cannot do in C#.

So, how can you tell if one string would come alphabetically before another?

Thanks. Help will be greatly appreciated.