Char.IsLower Method (Char)

 

Indicates whether the specified Unicode character is categorized as a lowercase letter.

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

public static bool IsLower(
	char c
)

Parameters

c
Type: System.Char

The Unicode character to evaluate.

Return Value

Type: System.Boolean

true if c is a lowercase letter; otherwise, false.

Valid lowercase letters are members of the following category in UnicodeCategory: LowercaseLetter.

The following code example demonstrates IsLower.

using System;

public class IsLowerSample {
	public static void Main() {
		char ch = 'a';

		Console.WriteLine(Char.IsLower(ch));				// Output: "True"
		Console.WriteLine(Char.IsLower("upperCase", 5));	// Output: "False"
	}
}

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: