Click here to Skip to main content
12,625,084 members (39,470 online)
Click here to Skip to main content
Articles » Languages » C# » General » Downloads

Tagged as

Stats

6.8K views
1 bookmarked
Posted

Pascal and Camel Case to Display Text Conversion

, 8 Jun 2011 CPOL
Why not take care of the first character before the loop, instead of checking it every time (not that it makes a big difference on modern hardware)? This also moves the char declaration out of the loop.private string createDisplayText(string propertyName){ if...
No downloads associated with this content

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

kiswa00
Software Developer (Senior)
United States United States
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.161128.1 | Last Updated 8 Jun 2011
Article Copyright 2011 by kiswa00
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid