1

So I'm new to C# and programming and just wrote my first C# script. So now how do I run it? Do I just save it as a .bat file and run it that way? Ultimately, I want to schedule this to run via windows task scheduler.

lightweight
  • 3,227
  • 14
  • 79
  • 142

2 Answers2

1

You mean a C# program, not script, right? Just use a console application project, and call it (the executable) from scheduler.

L-Four
  • 13,345
  • 9
  • 65
  • 109
0

If you prefer combining C# with script languages, here are some options:

Community
  • 1
  • 1
David
  • 15,894
  • 22
  • 55
  • 66