Tag Archives: Pascal case

Convert between Pascal case, camel case, and proper case method 2 in C#

Like the previous post, Convert between Pascal case, camel case, and proper case in C#, this example shows how to use string extension methods convert strings into various case types. Thanks to Gary Winey for this version. The following ToPascalCase … Continue reading

Posted in extension methods, strings | Tagged , , , , , , , , , , , , , | Leave a comment

Convert between Pascal case, camel case, and proper case in C#

This example uses string extension methods to convert strings between Pascal case, camel case, and proper case. In Pascal case, each word is capitalized as in ThisStringIsPascalCased. In camel case, each word except the first is capitalized as in thisStringIsCamelCased. … Continue reading

Posted in extension methods, strings | Tagged , , , , , , , , , | 6 Comments