As I know, when I run cs myConsoleApp.cs from windows command line, I can pause the Console Window by add the code below:
Console.ReadLine();
pause for .bat
pause
and
<>; #Read from STDIN
for Perl