Click here to Skip to main content
15,891,513 members

Articles by nedel (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#
21 Feb 2011   Updated: 21 Feb 2011   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: CPOL    Views: 4,762     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
public static string ToggleCase(string s){ char[] ar = s.ToCharArray(); for(int i = 0; i < ar.Length; ++i) ar[i] = char.IsLower(ar[i]) ? char.ToUpper(ar[i]) : char.ToLower(ar[i]); return new string(ar); }

Average reference rating:

No reference articles have been posted.

Average project rating:

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