+92 332 4229 857 99ProjectIdeas@Gmail.com

String ToUpper And ToLower Functions (C#.net)





   To upper and lower case the specified string.






For example (ToUpper()):

              string strOne = "PakisTan";
              MessageBox.Show(strOne.ToUpper());

Output:
             PAKISTAN

For example (ToLower()):

             MessageBox.Show(strOne.ToLower());

Output:
            pakistan








0 comments: