Click here to Skip to main content

Articles by Nathan J Bolstad (Tip/Trick: 1)

Tip/Trick: 1

RSS Feed
No articles have been posted.
No blogs have been submitted.

Average tips rating: 3.67

Programming Tips
General
Posted: 14 Feb 2011   Updated: 14 Feb 2011   Views: 982   Rating: 3.67/5    Votes: 2   Popularity: 0.30
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Of the 5 alternatives...somehow the obvious suggestion of dropping the ToUpper() after calling IsUpper() (or ToLower/IsLower) was missed.char.IsUpper(c) ? char.ToLower(c) : char.ToUpper(c)to become...char.IsUpper(c) ? char.ToLower(c) : cThis saves half call to a method per character "on...
No reference articles have been posted.

Nathan J Bolstad

Australia Australia
No Biography provided


Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 18 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid