How do I make a C# script for FiveM?

This is useful [How-to] Setting up C# and creating a basic resource