[This is preliminary documentation and is subject to change.]
Compares strA to strB. (case-sensitive)
| C# | Visual Basic | Visual C++ |
public static bool Compare( string strA, string strB )
Public Shared Function Compare ( _ strA As String, _ strB As String _ ) As Boolean
public: static bool Compare ( String^ strA, String^ strB )
- strA (String)
- The first string.
- strB (String)
- The second string.
True if: strA is equal to strB.
Uses the fastest string case-sensitive comparison.