You can use the static Compare method of the String class.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fSystemStringClassCompareTopic.asp
Also see the following resources on string comparison.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cp
conComparingStrings.asp
(.NET 2.0)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/S
tringsinNET20.asp

Signature
Tim Wilson
.NET Compact Framework MVP
> How to compare two string
>
[quoted text clipped - 5 lines]
>
> do u know what i said