Is console.writeline thread safe? [duplicate] Is console.writeline thread safe? [duplicate] multithreading multithreading

Is console.writeline thread safe? [duplicate]


It's safe! From the .NET API browser:

Console I/O Streams

[...]

I/O operations using these streams are synchronized, which means multiple threads can read from, or write to, the streams.