Advertisement



< Prev
Next >



C# ToUpper() method



The ToUpper() method of String class is used to convert all the characters in the invoked String to uppercase letters and returns its uppercase form.



Some overloads of ToUpper() method



Methods Description
ToUpper()
This method returns an uppercase copy of the invoked String object.

ToUpper(CultureInfo)
This method returns an uppercase copy of the invoked String object, by using the casing rule of the specified culture, specified by CultureInfo class.






Note


The ToUpper() method when called on any String object, returns a lowercase copy of the invoked String. The returned uppercase String must be stored or used otherwise it is lost.




Please Subscribe

Please subscribe to our social media channels for daily updates.


Decodejava Facebook Page  DecodeJava Twitter Page Decodejava Google+ Page




Advertisement



Notifications



Please check our latest addition

C#, PYTHON and DJANGO


Advertisement