I have this program that is a GUI program in C#.
I am working on implementing a way to make it do what it does but automatically via the console.

For example I can give the args "-console -i "Input" -o "Output"
and then it writes in the console window and never shows the GUI.

I know how to hide the GUI, but I don't know how to make it write to the console window? Just writing Console.WriteLine("Hello") doesn't work, it doesn't write that line to the console window. (via CMD.exe)

Any1 that has a clue on what I need to do?