This is an example that I found can really capture the screen but you might need to modify it because it captures the console screen too.
There is no main program in the sample. Somehow it is not difficult to do one like below.
static void Main(string args)
ScreenCapture sc = new ScreenCapture();