I came across situation where i want to check that given string contain unicode character or not?How to do that?
Asked
Active
Viewed 2,203 times
1 Answers
2
You could do something like this.
string input = ... // your input.
if(input.Any(c => c > 255))
{
// unicode
}

Hari Prasad
- 16,716
- 4
- 21
- 35
-
2Do you care to elaborate what "something like this" does exactly, and how that solves the OP's problem? – CodeCaster Jun 21 '16 at 08:13