DEV Community

Discussion on: Don't use String.ToLower() in C# when comparing strings

Collapse
 
kunle profile image
Kunle

An alternative would be to use regex to compare

Collapse
 
davidkroell profile image
David Kröll

I cannot tell something about the performance of regex, but i assume it will be slower.