Is there a way to find the bidirectional Unicode character character in C #?
I want to look at the characters in a string and decide if they are all strong LTR, strong RTL, a mixture of strong LTR and neutral, etc.
System.Globalization.CharUnicodeInfo.GetBidiCategory(ch) is your friend.
System.Globalization.CharUnicodeInfo.GetBidiCategory(ch)
The problem is that the function is internal. This MichKap (RIP) blog post shows you how to call it reflection.