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

Articles by TimB99 (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: 0.00

Programming Languages
C#
14 Feb 2011   Updated: 14 Feb 2011   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: CPOL    Views: 6,760     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
What about this?string s = new string(( from c in "ABCdef" select char.IsUpper(c) ? char.ToLower(c) : char.ToUpper(c) ).ToArray());Note by Alexander Bell: In regards to the performance, this one (i.e. Alternate 9) is the worst in comparison...

Average reference rating:

No reference articles have been posted.

Average project rating:

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