string class : ToUpper() method
Description
Gets a new instance of the string that lowercase in the invoker string converts to uppercase.
Syntax
stringInstance.ToUpper()
Arguments
None
Return value
Class | Description |
string | A new instance of the string that lowercase in the invoker string converts to uppercase. |
Sample code
//anyString is a instance of string type.
string upperString = anyString.ToUpper();
Notes
It's a wrapper of the System.String.ToUpper().