I made a program that reads an input string, compares it to check if it's certain emoji and returns a number depending on which emoji it is.
The problem comes with emojis with different genres. For example, the policeman emoji doesn't get detected. I tried comparing the string with "", but it wasn't detected. I tried adding the male symbol and comparing the string with "♂️♂️", but it didn't work either.
Example of a piece of my code code:
case "":
case "":
Send(args[1] + " 70%", update.Message.Chat.Id);
break;
case "":
case "":
case "":
case "":
Send(args[1] + " 40%", update.Message.Chat.Id);
break;
All of them work except for and , which happen to be the ones with different genders.
Not sure if it matters, but language is C# and I'm programming in Visual Studio, which lets me copy and paste the emojis in there.
What am I doing wrong?