Click here to Skip to main content
15,893,381 members

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

Tip/Trick: 1

RSS Feed

Average article rating:

No articles have been posted.

Average blogs rating:

No blogs have been submitted.

Average tips rating: 3.67

Programming Languages
C#
14 Feb 2011   Updated: 14 Feb 2011   Rating: 3.67/5    Votes: 2   Popularity: 1.10
Licence: CPOL    Views: 5,590     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
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...

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.
Australia Australia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.