This is the code. I just wanna test the library of System.ServiceProcess library.
using System;
using System.Collections.Generic;
using System.Linq;
using Sy
System.ServiceProcess namespace belongs on System.ServiceProcess.dll and it doesn't added as a reference by default.
For this, in the solution window, right click on "References" and choose "Add Reference.." Go to the .NET tab, and double click on System.ServiceProcess.dll.

This assembly is probably in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 folder.