Chapter 23 - Windows Services
I'm attempting to use your examples when I go to implement the QuoteService Project.
In the Section titled "Service Start" I'm trying to add the code --> protected override void OnStart(string args)
QuoteServer quoteServer = new QuoteServer(@"c:\windows\system32\quotes.txt", 7890);
and then run it, I get the error "OnStart: cannot declare instance members in a static class."
Honestly, the code is getting hard to follow with respect to building this final part of the project. What would help is to get entire code for this specific chapter so I can eliminate guess work and follow something more logical then whats in the book.