Click here to Skip to main content
11,928,919 members (54,356 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: 21,170   Rating: 4.67/5    Votes: 9   Popularity: 4.49
Licence: The Common Development and Distribution License (CDDL)      Bookmarked: 36   Downloaded: 1,155
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: 5,440   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.151126.1 | Last Updated 29 Nov 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid