I would assume you were iterating through all of the services for debugging purposes, but you could use a simple LINQ statement to get the services you need.
I was able to do these and get the services:
var netTcpActivatorService = ServiceController.GetServices().FirstOrDefault(s => s.ServiceName == "NetTcpActivator");
var netPipeActivatorService = ServiceController.GetServices().FirstOrDefault(s => s.ServiceName == "NetPipeActivator");