Reputation: 27632
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
?
Upvotes: 2
Views: 606
Reputation: 1503529
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.
Upvotes: 3