Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Char.ToLower Method (Char, CultureInfo)

Converts the value of a specified Unicode character to its lowercase equivalent using specified culture-specific formatting information.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public static char ToLower(
	char c,
	CultureInfo culture
)

Parameters

c
Type: System.Char
A Unicode character.
culture
Type: System.Globalization.CultureInfo
An object that supplies culture-specific casing rules.

Return Value

Type: System.Char
The lowercase equivalent of c, modified according to culture, or the unchanged value of c, if c is already lowercase or not alphabetic.

ExceptionCondition
ArgumentNullException

culture is null.

Use String.ToLower to convert a string to lowercase.

Notes to Callers

On Mac OS X v 10.4 and earlier versions, converting a Char to lowercase by specifying a culture other than the current culture is not supported.

The following example demonstrates ToLower.


using System;
using System.Globalization;  // for CultureInfo

public class Example
{
   public static void Demo(System.Windows.Controls.TextBlock outputBlock)
   {
      outputBlock.Text += Char.ToLower('A') + "\n";				// Output: "a"
   }
}


Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft