.net - How can I read a C# Console app's entire command line, as it was typed? -


this question has answer here:

i writing little repl console app, , read command, split it, , use piss-poor switch statement decide method call (instead of using strategy pattern). place each command history, audit.

the command line when starting app, typed, lost split. prefer have whole command line , on loop , it's own split routine.

is possible whole command line somehow?

you can entire command line passed program via

environment.commandline


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -