1

As described here:

Char.IsLetter() determines whether a Char is a member of any category of Unicode letter.

is it possible the get the category of Unicode letter itself, when Char.IsLetter() is true?

MBZ
  • 26,084
  • 47
  • 114
  • 191

1 Answers1

2

Sure - I think you want CharUnicodeInfo.GetUnicodeCategory(char) or Char.GetUnicodeCategory(char).

See the documentation for the differences - the suggestion is that you use CharUnicodeInfo, in order to get the value in the current Unicode standard.

Jon Skeet
  • 1,421,763
  • 867
  • 9,128
  • 9,194