CSharp examples for System:Char Unicode
Converts the value of a Unicode character to its uppercase equivalent using the casing rules of the invariant culture.
// Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods) using System;/*from ww w . j ava2s . c om*/ public class Main{ /// <summary> /// Converts the value of a Unicode character to its uppercase equivalent using the casing rules of the invariant /// culture. /// </summary> /// <param name="c">The Unicode character to convert.</param> /// <returns> /// The uppercase equivalent of the parameter, or the unchanged value of , if is already uppercase or not /// alphabetic. /// </returns> public static Char ToUpperInvariant(this Char c) { return Char.ToUpperInvariant(c); } }