Auto-generated C# class that can be included directly into your source code.
Save FullEmojiList.cs into your project, or install FullEmojiList NuGet package, and use emojis in your messages:
var greeting = $"Hello, {Emoji.WorldMap}"; // value is "Hello, 🗺️"
Attention! Always check that your messages are correctly displayed in all required browsers and devices! Some systems/fonts may not (yet) have some new emoji, so you'll need to choose other emoji. Downgrade to older file/package version to have emojis from previous Unicode versions only.
.NET 6.0 console app to [re]generate emoji file.
Useful options (located directly in Program.cs
file):
MaxVersion
- sets maximum unicode emoji version to include (emoji from higher versions will not be included in output file)IncludeGroupInEmojiName
- when enabled, emoji names will include group names, e.g.SmileysAndEmotion_GrinningFace
(instead ofGrinningFace
)
Thanks to anton-bot/Full-Emoji-List for inspiration.