Guest User

Untitled

a guest
Jun 19th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. static void Main(string[] args)
  2. {
  3. ServiceBase[] ServicesToRun = new ServiceBase[]
  4. {
  5. new Service1()
  6. };
  7.  
  8. ServiceBase.Run(ServicesToRun);
  9. }
  10.  
  11. static void Main(string[] args)
  12. {
  13. ServiceBase[] ServicesToRun = new ServiceBase[]
  14. {
  15. new Service1(),
  16. new Service2()
  17. };
  18.  
  19. ServiceBase.Run(ServicesToRun);
  20. }
Add Comment
Please, Sign In to add comment