c# - How to Log Console Screen into a Text File? -


possible duplicate:
mirroring console output file

i've console application in c# , want log text file every text appears on screen. how ?

unfortunately thread closed despite of comment mirroring console output file. accepted post answer thread not correct. why cannot ask question again? i'm using console interactively , want copy of text on console in text file. sos

c:\>yourconsoleapp.exe > yourtextfile.txt 

edit: assumes console app requires no user input.


Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

php - Retrieving comment count from fb:comments widget (Facebook) -

c# - NullReferenceException in MySqlClient.NativeDriver -