I'd expect two comparisons is probably faster than converting the entire string to lowercase... remember that creating a new string causes a HEAP ALLOCATION