I\'ve written a class for processing strings and I have the following problem: the string passed in can come with spaces at the beginning and at the end of the string.
If the strings use only ASCII characters, you can look at the C# ToLower Optimization. You could also try a lookup table if you know the character set ahead of time