if ((string.Compare(strOriginal, strModified, false)) < 0) { //strOriginal is less than strModified } else if ((string.Compare(strOriginal, strModified, false)) > 0) { //strOriginal is more than strModified } else if ((string.Compare(strOriginal, strModified, false)) == 0) { //Both strings are equal }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)