C# Change String to uppercase or lowercase

Sometimes it may be necessary to display a string only in a notation with small or large letters.

There are two simple functions in CSharp (C#) that return the string in lowercase or uppercase:

Lowercase

The following function is used for lower case. This converts the string into small letters.

MyString.ToLower();

Capitalization

The following function is used for capitalization. This converts the string into large letters.

MyString.ToUpper();

Werbung



comments powered by Disqus

Copyright Dunkel & Iwer GbR | Datenschutzerklärung | Impressum