Click here to Skip to main content
12,945,401 members (54,472 online)
Click here to Skip to main content
Articles » Languages » C# » General » Revisions

Tagged as


1 bookmarked
Posted 7 Jun 2011

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...



Compare Revision Minor Date Status Editor
3 - publicly available No 8-Jun-11 3:13 Available kiswa00
2 No 8-Jun-11 3:04 Composing kiswa00
1 No 7-Jun-11 1:51 Composing kiswa00


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


About the Author

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

You may also be interested in...

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