Click here to Skip to main content
13,042,819 members (71,422 online)

Articles by kiswa00 (Article: 1, Tip/Trick: 1)

Article: 1, Tip/Trick: 1

RSS Feed

Average article rating: 4.67

Posted: 9 Sep 2009   Updated: 10 Sep 2009   Views: 26,150   Rating: 4.67/5    Votes: 9   Popularity: 4.49
Licence: The Common Development and Distribution License (CDDL)      Bookmarked: 38   Downloaded: 1,425
How I learned more about C#, UserControl, and project design by implementing a Game of Life simulator.
No blogs have been submitted.

Average tips rating: 4.86

Posted: 7 Jun 2011   Updated: 8 Jun 2011   Views: 7,390   Rating: 4.86/5    Votes: 4   Popularity: 2.92
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
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 reference articles have been posted.

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

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 21 Jul 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid