您即将离开腾讯云开发者社区,请注意您的账号财产安全
http://www.java2s.com/Code/CSharp/Development-Class/DemonstratesredirectingtheConsoleoutputtoafile.htm
继续访问