Click here to Skip to main content

Articles by TimB99 (Tip/Trick: 1)

Tip/Trick: 1

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

Average tips rating: 0.00

Programming Tips
General
Posted: 14 Feb 2011   Updated: 14 Feb 2011   Views: 1,650   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
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...
No reference articles have been posted.

TimB99
Software Developer
New Zealand New Zealand
No Biography provided


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