Click or drag to resize
StringToUpper Method (CultureInfo)
Returns a copy of this string converted to uppercase, using the casing rules of the specified culture.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public string ToUpper(
	CultureInfo culture
)

Parameters

culture
Type: System.GlobalizationCultureInfo
An object that supplies culture-specific casing rules.

Return Value

Type: String
The uppercase equivalent of the current string.
Exceptions
ExceptionCondition
ArgumentNullExceptionculture is null.
See Also