If you can live with the limitations (no GUI or Forms), you could create a
Windows Service and set the startup type to automatic.
See:
Tutorial: Create a Windows service app | Microsoft Docs[
^]
Windows Services can be dangerous for beginners, so it is best to write a Console application first, test that thoroughly and then use the tested code for a service.