Get a Unicode character name from a Rune in .NET

If you have a Rune and want its Unicode name (for example GRINNING FACE for 😀), there is no built-in API in .NET today. Here are two practical options: Use the ICU library available on the operating system Use the Meziantou.Framework.Unicode NuGet package Method 1: Use ICU from the OS ICU exposes u_charName, which returns the Unicode name for a code point. using System; using…