string originalValue="Title"; string enteredValue="title"; static bool IsValid(string orgValue, string entValue) { return Regex.IsMatch(orgValue,"^" + entValue + "$"); //Remember, this will check for the whole string }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)