Click here to Skip to main content
11,494,851 members (65,950 online)
Click here to Skip to main content

How to Toggle String Case in .Net

, 10 Feb 2011 CPOL 2.5K 3
Test Page for both Algorithms:[^]Algorithm by Deeksha: protected string ToggleCaseByDeeksha(string s) { var sb = new StringBuilder(s.Length); foreach (char c in s) sb.Append(char.IsUpper(c) ? char.ToLower(c) :...
This is an old version of the currently published tip/trick.

This article is still being written and is not currently available for general viewing.

Please go to the Programming Tips Table of Contents to view the list of available articles in this section.
| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150520.1 | Last Updated 10 Feb 2011
Article Copyright 2011 by DrABELL
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid