Click here to Skip to main content
11,415,074 members (77,166 online)

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

Article: 1, Tip/Trick: 1

RSS Feed

Average article rating: 4.67

C#
General
Posted: 9 Sep 2009   Updated: 10 Sep 2009   Views: 18,820   Rating: 4.67/5    Votes: 9   Popularity: 4.49
Licence: The Common Development and Distribution License (CDDL)      Bookmarked: 36   Downloaded: 1,032
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: 4,330   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.

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


Advertise | Privacy | Mobile
Web01 | 2.8.150427.4 | Last Updated 27 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid