What's the C# equivalent to "System.setOut(new Logger(System.out));" in java?

Basically with that line of code each line thats printed in the console prints the current date + time, etc..

Thanks.

>What's the C# equivalent to "System.setOut(new Logger(System.out));" in java?

System.Console.SetOut(System.IO.TextWriter)
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.