Question: I have a C# program that I want to run automatically every night without me having to do this,

I believe there is a way of doing this by setting an automated task however im not sure how to do this?

P.S. not sure if this helps but it has a .exe file in its library.

Thanks in advance.

Answer: 
Have a look at Windows Scheduled Tasks, not sure if it's available only on Windows Server or also XP, Vista, 7...
You can use "Scheduled Tasks" on windows.
You could also write your application as a "Windows Service". By this, it would run all the time on a machine, without someone creating a scheduled task.