![]() |
|||
Comments and Discussions
|
About Article
Alternative to How to Toggle String Case in .NET
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...
Top News
The Next Version of Android - Some of What's Coming Get the Insider News free each morning.Related Videos
Related Articles
|
||||||||||||||||||||||||||||||||||||||||||||