Converts a char
to its lowercase equivalent.
[Edit]
Parameters
- c
- A Unicode character.
[Edit]
Returns
The lowercase equivalent of c, or the value of
c if and only if c is already lowercase or does not have a
lowercase equivalent.
[Edit]
Remarks
Example
The following example demonstrates the char.ToLower(char, System.Globalization.CultureInfo) method.
C# Example |
using System;
public class CharToLower {
public static void Main() {
Char[] cAry = {'A', 'c', '*'};
foreach (Char c in cAry) {
Console.Write("Char '{0}' ToLower is ", c);
Console.WriteLine("{0}", Char.ToLower(c));
}
}
}
|
The output is
Char 'A' ToLower is a
Char 'c' ToLower is c
Char '*' ToLower is *
Requirements
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0