using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hello_world
{
internal class Program
{
static void Main(string[] args)
{
char a = 'a';
char b = 'B';
char c = 'L';
char d = '.';
char e = '|';
char f = ' ';
Console.WriteLine("isLetter方法判断a是否为字母: " + char.IsLetter(a));
Console.WriteLine("IsDigit方法判断b是否为字母: " + char.IsDigit(b));
Console.WriteLine("IsLetterOrDigit方法判断c是否为字母: " + char.IsLetterOrDigit(c));
Console.WriteLine("IsLower方法判断d是否为字母: " + char.IsLower(d));
Console.WriteLine("IsUpper方法判断e是否为字母: " + char.IsUpper(e));
Console.WriteLine("IsPunctuation方法判断f是否为字母: " + char.IsPunctuation(f));
Console.WriteLine("IsSeparator方法判断a是否为字母: " + char.IsSeparator(a));
Console.WriteLine("IsWhiteSpace方法判断c是否为字母: " + char.IsWhiteSpace(c));
Console.ReadLine(); //定位控制台
}
}
}