public bool ContainsUnicodeCharacter(char[] input)
{
const int MaxAnsiCode = 255;
bool temp;
string s;
foreach (char a in input)
{
s = a.ToString();
temp = s.Any(c => c > MaxAnsiCode);
if (temp == false)
{
return false;
}
}
}
This code used to check unicode exist or not on input char array.
I got error message : " ContainsUnicodeCharacter(char[])': not all code paths return a value"
What went wrong here, Please help. Thank You.