Today I had to write a method for splitting Pascal Cased property names to readable text strings. Because I found a small and stylish solution, I want to show you.
string outputString = System.Text.RegularExpressions.Regex.Replace(
inputString, "([a-z])([A-Z])", "$1 $2", System.Text.RegularExpressions.RegexOptions.Compiled);
Hope you like it