ToUpperInvariant

A string method that returns an upper-case copy using culture-independent rules, so the result is the same on every machine.

In more detail

Culture-sensitive upper-casing can surprise you, for example with the Turkish dotted i. Use the invariant version for codes and identifiers such as a SKU.

Example

"wid-7".ToUpperInvariant() // "WID-7"

Related terms

Taught in

References